Q.jQuery.fn Class
Calls Q.Tool.setUpElement on the elements in the jQuery. Follow this up with a call to .activate()
Item Index
Methods
- activate static
- plugin.load static
- state static
Methods
activate
(
static
-
options
-
callback
Calls Q.activate on all the elements in the jQuery.
Parameters:
-
options
ObjectOptional options to provide to tools and their children.
-
callback
Function | Q.EventThis will get called for each element that has been completely activated. That is, after files for each of its tools, if any, have been loaded and all their constructors have run. It receives (elem, options, tools) as arguments, and the last tool to be activated as "this".
plugin.load
(
static
-
pluginNames
-
callback
-
options
The function used by the "plugin" plugin to load other plugins
state
()
static
Used to access the state of a plugin, e.g. $('#foo').state('Q/something').foo