Added ability to bind to an item changed event, and specify the next / previous button text#7
Open
TomFromThePool wants to merge 4 commits intorichardscarrott:masterfrom
Open
Added ability to bind to an item changed event, and specify the next / previous button text#7TomFromThePool wants to merge 4 commits intorichardscarrott:masterfrom
TomFromThePool wants to merge 4 commits intorichardscarrott:masterfrom
Conversation
added 4 commits
May 1, 2013 11:37
Added the ability to register a handler for an itemChanged event which is triggered whenever a new item is scrolled into view in the carousel.
CSS Class 'carousel-current' is applied to whichever item is the current displayed item in the carousel.
Removed an unnecessary check for the end of the carousel, and added the ability to specify the next / previous button text.
Additional info for new options
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hi Richard,
I've been making use of your carousel plugin for a project and needed to add some extra options so that I can bind to the item change, and also specify the next / previous button text. Additionally, the current item will be decorated with a css class to allow for easy access from external code.
Hope you find these changes useful!
Tom