0

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?

dda
  • 6,030
  • 2
  • 25
  • 34
thindery
  • 1,164
  • 4
  • 23
  • 40

1 Answers1

0

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

Community
  • 1
  • 1
brandwaffle
  • 1,252
  • 9
  • 11