Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add settings options for specifying control element type and class name(s) #1053

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

NickEngeldinger
Copy link

@NickEngeldinger NickEngeldinger commented Oct 12, 2016

I ran into a use case where I wanted to use buttons instead of the anchor tags that the plugin generates for the next and prev controls. Additionally I needed to add some classes to those buttons. I thought this might be useful to other users as well, so I added them to the options object and modified the appendControls function.

nextPrevEl allows user to specify an html element for the next and prev controls (e.g. 'button')
nextPrevElClass allows user to add class(es) to the next and prev elements

…me(s)

nextPrevEl allows user to specify an html element for the next and prev controls (e.g. 'button')
nextPrevElClass allows user to add class(es) to the next and prev elements
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant