- Copyright:
- Copyright (C) 2005-2020 Alfresco Software Limited
- License:
- GNU Lesser General Public License, see: Open Source Licensing
- Source:
Members
-
_ALL :number
-
Type:
- number
- Default Value:
- 2
- Source:
-
_itemsSelected :number
-
Keeps track of the items selected (either none, some or all)
Type:
- number
- Default Value:
- 0
- Source:
-
_NONE :number
-
Type:
- number
- Default Value:
- 0
- Source:
-
_SOME :number
-
Type:
- number
- Default Value:
- 1
- Source:
-
_UNKNOWN :number
-
Type:
- number
- Default Value:
- 3
- Source:
-
i18nRequirements :object[]
-
An array of the i18n files to use with this widget.
Type:
- object[]
- Since:
- 1.0.59
- Default Value:
- [{i18nFile: "./i18n/AlfMenuBarSelectItems.properties"}]
- Source:
-
iconClass :string
-
Sets an initial iconClass. This ensures that the iconNode is created.
Type:
- string
- Default Value:
- "alf-noneselected-icon"
- Source:
-
notificationTopic :string
-
The topic that the widget will listen to.
Type:
- string
- Source:
Methods
-
determineSelection(payload)
-
This function relies on the supplied payload argument having both an 'availableItemCount' attribute and a'selectedItemCount' attribute, but it can be overridden for custom handling of how to render the icon for the menu.
Parameters:
Name Type Description payload
object - Source:
-
handleIconClick()
-
- Source:
-
handleSelection()
-
- Source:
-
postCreate()
-
Extends the inherited implementation to set up the listener for clicks on the iconNode
- Source:
-
renderAllSelected()
-
- Source:
-
renderNoneSelected()
-
- Source:
-
renderSomeSelected()
-
- Source: