Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.

add onSlideBegin event handler #81

Open
wants to merge 5 commits into
base: develop
Choose a base branch
from

Conversation

Uplink03
Copy link

@Uplink03 Uplink03 commented Aug 5, 2014

I have the need to know when the mouse/finger goes down on the slider, so I created this. It's a very simple change since you already handle the "down" events internally.

Sorry about the alignment breakage due to the length of the new name. Please re-align equal signs if you wish.

Sometimes there's a race condition when laying out the slider and we get
a size of zero. This kind of fixes the problem for my use case. No idea
about the general case.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant