Show:

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

Methods

activate

(
  • options
  • callback
)
static

Calls Q.activate on all the elements in the jQuery.

Parameters:

  • options Object

    Optional options to provide to tools and their children.

  • callback Function | Q.Event

    This 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

(
  • pluginNames
  • callback
  • options
)
static

The function used by the "plugin" plugin to load other plugins

Parameters:

state

() static

Used to access the state of a plugin, e.g. $('#foo').state('Q/something').foo