Open johnmastri opened 7 years ago
Hi @johnmastri ,
$myColorPicker = $('input.color')
is a jQuery Object that is an Array that holds all the collected elements but also holds other information like prevObject
, context
etc. I put the instance of colorPicker also there: $myColorPicker.colorPicker
From your jQuery example:
I would think doing console.log($myColorPicker) would return the instance of the colorPicker - but it is returning an array. How do I access the colorPicker object (so I can access it's methods, setColor, etc..)?
Thanks!