-
-
Notifications
You must be signed in to change notification settings - Fork 80
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
Request: issue event after colorPicker has been initialized #28
Comments
Thank you for the request! This would definitely be a helpful addition so I'll work on adding it ASAP :) I think I'll probably call the event |
Thanks James! |
The Here's a usage example: // create a new color picker instance
var example = new iro.ColorPicker(...);
example.on("mount", function() {
// do something
}); In addition, the color object is now passed to the Let me know if you have any other requests :) |
Right now a
new iro.ColorPicker(...)
immediately returns an object but finishes initialisation of the object after the document.readyState changed to "complete".It would be amazing if there would be an event issued after the _init function finished doing its job and the colorPicker object is completely initialized.
For example the following at the end of the _init function:
Thanks!
The text was updated successfully, but these errors were encountered: