You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 26, 2019. It is now read-only.
It took me some time to find out how to call the methods like .setColor(string).
It would be great if you could update the documentation for others to specify how to get the instance of the farbtastic object where you call the method.
$('#placeholder').farbtastic('#input-field');
var picker = $.farbtastic('#placeholder');
picker.setColor('#FFFFFF');
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
It took me some time to find out how to call the methods like .setColor(string).
It would be great if you could update the documentation for others to specify how to get the instance of the farbtastic object where you call the method.
$('#placeholder').farbtastic('#input-field');
var picker = $.farbtastic('#placeholder');
picker.setColor('#FFFFFF');
The text was updated successfully, but these errors were encountered: