Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to polyfill color inputs #36

Merged
merged 2 commits into from
Sep 18, 2017
Merged

Option to polyfill color inputs #36

merged 2 commits into from
Sep 18, 2017

Conversation

mrgrain
Copy link
Contributor

@mrgrain mrgrain commented Jan 18, 2015

Add an option to polyfill native color input fields
Resolves issue #29

Add an option to polyfill native color input fields
josedvq#29

Signed-off-by: Moritz Kornher <mail@moritzkornher.de>
@mrgrain mrgrain changed the title resolves issue #29 Option to polyfill color inputs Jan 18, 2015
@mrgrain
Copy link
Contributor Author

mrgrain commented Jan 18, 2015

By default this fix prevents the native default event. You may set polyfill to true, so the plugin activates only if no native solution is available. Use a function(element){} to determine the setting dynamically (e.g. from user-agent because the colorpickers on some OS suck more then others).

Signed-off-by: Moritz Kornher <mail@moritzkornher.de>
@josedvq josedvq merged commit c63b934 into josedvq:master Sep 18, 2017
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.

2 participants