jQuery.fn.controls
jQuery.fn.controls
Get the Controls associated with elements.
jQuery.fn.controls([type])
Parameters
-
control
{String | can.Control}
OptionalThe type of Controls to find.
Returns
{can.Control}
The controls associated with the given elements.
When the widget is initialized, the plugin control creates an array of control instance(s) with the DOM element it was initialized on using can.data method.
The
controls
method allows you to get the control instance(s) for any element either by their type or pluginName.