Module: explorer/widgets/gadgetarea/GadgetToolbar

explorer/widgets/gadgetarea/GadgetToolbar

Toolbar for GadgetArea that contains a gadget's title and the GadgetMenuButton.
Source:
See:

Extends

  • dijit/_WidgetBase
  • dijit/_TemplatedMixin
  • dijit/_WidgetsInTemplateMixin

Methods

addAction()

Adds an action by handing it off to the GadgetDropDownMenu.
Source:

getTitle(metadata)

Gets the title of the gadget.
Parameters:
Name Type Description
metadata Object Object with the gadget's metadata.
Source:

removeAction()

Removes an action by handing it off to the GadgetDropDownMenu.
Source:

setGadgetMetadata(metadata)

Takes the gadget's metadata and sets the GadgetToolbar's title, constructs the GadgetDropDownMenu.
Parameters:
Name Type Description
metadata Object Object with the gadget's metadata.
Source: