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

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

Open
rxaviers wants to merge 1 commit into
mattfarina:farbtastic-1from
rxaviers:farbtastic-1
Open

Trigger "change" event after changing this.value = fb.color#6
rxaviers wants to merge 1 commit into
mattfarina:farbtastic-1from
rxaviers:farbtastic-1

Conversation

@rxaviers

Copy link
Copy Markdown

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

ben-eb commented Jan 31, 2014

Copy link
Copy Markdown

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.

2 participants