Skip to content
This repository has been archived by the owner on Feb 26, 2019. It is now read-only.

Trigger "change" event after changing this.value = fb.color #6

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

Conversation

rxaviers
Copy link

Farbtastic updates input element value with the chosen color (when using an element as the callback). Although, it's not possible right now to be acknowledged when those changes happen.

This commit triggers the native change event after the color is set. So, user can bind the native "change" event as he would normally do and be notified when a new color is set.

PS: Added a delay mechanism to avoid triggering a bunch of events while sliding the colors.

@ben-eb
Copy link

ben-eb commented Jan 31, 2014

What's the status of this patch?

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.

None yet

2 participants