ToolbarButton()

Toolbar Button UI

new ToolbarButton()

Extends

Methods

destroy()

destroy

Inherited From:

getName() → {string}

get the name of the toolbar item

Returns:
string -
  • the name of the toolbar item
Inherited From:

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: