Skip to content

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