Toolbar for GadgetArea that contains a gadget's title and the GadgetMenuButton.
Extends
- dijit/_WidgetBase
- dijit/_TemplatedMixin
- dijit/_WidgetsInTemplateMixin
Methods
-
addAction()
-
Adds an action by handing it off to the GadgetDropDownMenu.
-
getTitle(metadata)
-
Gets the title of the gadget.
Parameters:
Name Type Description metadata
Object Object with the gadget's metadata. -
removeAction()
-
Removes an action by handing it off to the GadgetDropDownMenu.
-
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.