Module: alfresco/documentlibrary/AlfToolbar

alfresco/documentlibrary/AlfToolbar

Extends the LeftAndRight widget to ensure that specific CSS selectors are included on the page. This widget was created to support the AlfGalleryView which publishes a request to render an AlfGalleryViewSlider and this widget can be included on the page as a place for it to be displayed.
Author:
  • Dave Draper
License:
Source:

Extends

  • module:alfresco/layout/LeftAndRight

Members

cssRequirements :object[]

An array of the CSS files to use with this widget.
Type:
  • object[]
Default Value:
  • [{cssFile:"./css/AlfToolbar.css"}]
Source:

Methods

addChild(widget, insertIndex)

This has been added to provide support for dynamically adding widgets into the toolbar.
Parameters:
Name Type Description
widget object The widget to add
insertIndex number The index at which to add the widget.
Source:

postCreate()

Adds the "alfresco-documentlibrary-AlfToolbar" CSS class to the DOM node.
Source: