Class: ManagementToolbar

ManagementToolbar()

Creates a Metal Management Toolbar component.

Constructor

new ManagementToolbar()

Source:

Members

(static, non-null) STATE :Object

State definition.
Type:
  • Object
Source:

(nullable) actionItems :array|undefined

List of items to display in the actions menu on active state.
Type:
  • array | undefined
Default Value:
  • undefined
Source:

(nullable) checkboxStatus :string|undefined

Status of the select items checkbox. If the status is checked or indeterminate, the toolbar is in active state.
Type:
  • string | undefined
Default Value:
  • unchecked
Source:

(nullable) clearResultsURL :string|undefined

URL for the clear results link.
Type:
  • string | undefined
Default Value:
  • undefined
Source:

(nullable) clearSelectionURL :string|undefined

URL for the clear selection link.
Type:
  • string | undefined
Default Value:
  • undefined
Source:

(nullable) contentRenderer :string|undefined

Name of the content renderer to use template variants.
Type:
  • string | undefined
Default Value:
  • undefined
Source:

(nullable) creationMenu :object|string|bool|undefined

Configuration of the creation menu.
  • Set true to render a plain button that emits an event on click.
  • Set string to use it as link href to render a link styled button.
  • Set object to render a dropdown menu with items.
Type:
  • object | string | bool | undefined
Default Value:
  • undefined
Source:

(nullable) defaultEventHandler :string|object|undefined

Component wired to handle the available user actions in the Management Toolbar component.
Type:
  • string | object | undefined
Default Value:
  • undefined
Source:

(nullable) disabled :bool

Flag to indicate if the managment toolbar is disabled.
Type:
  • bool
Default Value:
  • false
Source:

(nullable) elementClasses :string|undefined

CSS classes to be applied to the element.
Type:
  • string | undefined
Default Value:
  • undefined
Source:

(nullable) filterItems :array|undefined

List of filter menu items.
Type:
  • array | undefined
Default Value:
  • undefined
Source:

(nullable) filterLabels :array|undefined

List of filter label items.
Type:
  • array | undefined
Default Value:
  • undefined
Source:

(nullable) id :string|undefined

ID to apply to the element.
Type:
  • string | undefined
Default Value:
  • undefined
Source:

infoPanelId :string|undefined

ID to get the info panel node.
Type:
  • string | undefined
Default Value:
  • undefined
Source:

(nullable) searchActionURL :string|undefined

URL of the search form action.
Type:
  • string | undefined
Default Value:
  • undefined
Source:

searchContainerId :string|undefined

ID to get an instance of the search container.
Type:
  • string | undefined
Default Value:
  • undefined
Source:

(nullable) searchData :object

Map of properties that are rendered as hidden inputs in the search form.
Type:
  • object
Default Value:
  • undefined
Source:

(nullable) searchFormMethod :string|undefined

Method of the search form.
Type:
  • string | undefined
Default Value:
  • GET
Source:

(nullable) searchFormName :string|undefined

Name of the search form.
Type:
  • string | undefined
Default Value:
  • undefined
Source:

(nullable) searchInputName :string|undefined

Name of the search input.
Type:
  • string | undefined
Default Value:
  • undefined
Source:

(nullable) searchValue :string|undefined

Value of the search input.
Type:
  • string | undefined
Default Value:
  • undefined
Source:

(nullable) selectable :bool|undefined

Flag to indicate if the managment toolbar controls the selection of elements.
Type:
  • bool | undefined
Default Value:
  • undefined
Source:

(nullable) selectAllURL :string|undefined

URL for the Select All link.
Type:
  • string | undefined
Default Value:
  • undefined
Source:

(nullable) selectedItems :number|undefined

Number of selected items.
Type:
  • number | undefined
Default Value:
  • undefined
Source:

(nullable) showAdvancedSearch :bool

Flag to indicate if the advanced search is visible.
Type:
  • bool
Default Value:
  • false
Source:

(nullable) showCreationMenu :bool

Flag to indicate if the creation menu button is visible.
Type:
  • bool
Default Value:
  • true
Source:

(nullable) showFiltersDoneButton :bool

Flag to indicate if the Done button in the filter dropdown is visible.
Type:
  • bool
Default Value:
  • true
Source:

(nullable) showInfoButton :bool

Flag to indicate if the Info button is visible.
Type:
  • bool
Default Value:
  • false
Source:

(nullable) showResultsBar :bool

Flag to indicate if the results bar is visible.
Type:
  • bool
Default Value:
  • false
Source:

(nullable) showSearch :bool

Flag to indicate if search is visible.
Type:
  • bool
Default Value:
  • true
Source:

(nullable) showSelectAllButton :bool

Flag to indicate if the Select All button is visible.
Type:
  • bool
Default Value:
  • false
Source:

(nullable) sortingOrder :string|undefined

Sorting order.
Type:
  • string | undefined
Default Value:
  • undefined
Source:

(nullable) sortingURL :string|undefined

Sorting URL.
Type:
  • string | undefined
Default Value:
  • undefined
Source:

(nullable) spritemap :string|undefined

Path to the SVG spritemap file containing the icons.
Type:
  • string | undefined
Default Value:
  • undefined
Source:

supportsBulkActions :boolean

Flag to indicate if the toolbar supports bulk selection.
Type:
  • boolean
Default Value:
  • false
Source:

(nullable) totalItems :number|undefined

Total number of items. If 0, most of the elements in the toolbar are disabled.
Type:
  • number | undefined
Default Value:
  • undefined
Source:

(nullable) viewTypes :array|undefined

List of view items.
Type:
  • array | undefined
Default Value:
  • undefined
Source:

Methods

attached()

Source:

disposed()

Source: