Module: alfresco/documentlibrary/AlfViewSelectionGroup

alfresco/documentlibrary/AlfViewSelectionGroup

Extends the AlfMenuGroup to ensure that only AlfCheckableMenuItems are added to the group.
Author:
  • Dave Draper
License:
Source:

Members

i18nRequirements :object[]

An array of the i18n files to use with this widget.
Type:
  • object[]
Default Value:
  • [{i18nFile: "./i18n/AlfViewSelectionGroup.properties"}]
Source:

label :string

The default label for the view selection group.
Type:
  • string
Default Value:
  • "view-selection.group.label"
Source:

Methods

addViewSelectionMenuItem(menuItem)

Adds a new menu item to the group. Checks that the menu item is an instance of "alfresco/menus/AlfCheckableMenuItem" and will not add the menu item if it is not.
Parameters:
Name Type Description
menuItem Object The menu item to add.
Source:

postCreate()

Source: