I found this plugin, and it has a couple of methods: containerToImage and imageToContainer. How can I utilize these? I am trying to figure out what these actually do, but I don’t even know how to call them in a page. I have a working fiddle here.
Can anyone show me how to use these methods?
It looks like those methods are contained in the jQueryUI widget factory instance for that plugin. You may be able to call the methods by calling the name as a parameter using the widget object’s .data(). Check this page out for more info: http://www.gmarwaha.com/blog/2011/09/30/jquery-ui-calling-widget-methods-directly/ or reference this StackOverflow question: JQuery – Widget Public Methods