pluginName

  • property
can.Control.plugin.static.pluginName

{String}

 

Allows you to define the name of the jQuery plugin.

String

Setting the static pluginName property allows you to override the default name with your own.

var Filler = can.Control({
    pluginName: 'fillWith'
},{});

$("#foo").fillWith();

If you don't provide a pluginName, the control falls back to the fullName attribute:

can.Control('Ui.Layout.FillWith', {}, {});
$("#foo").ui_layout_fill_with();