ToolbarItem(optionsopt)

Toolbar Item

new ToolbarItem(optionsopt)

toolbar item constructor

Parameters:
Name Type Attributes Default Description
options Object <optional>
{name: 'toolbar-item'}

[description]

Extends

Members

static className :String

toolbar item class name

Methods

destroy()

destroy

Inherited From:

getName() → {string}

get the name of the toolbar item

Returns:
string -
  • the name of the toolbar item

off(type, fn)

unbind event handler

Parameters:
Name Type Description
type string

event name and selector

fn function

handler function

Inherited From:

on(aType, aFn)

Parameters:
Name Type Description
aType string | object

event name and selector string

aFn function

event handler

Inherited From:

remove()

remove

Inherited From:

trigger(…args)

trigger event

Parameters:
Name Type Attributes Description
args object <repeatable>

event name & extra params

Inherited From: