Renders an individual breadcrumb that reflects a single token in the current path. This is primarily used
by AlfBreadcrumbTrail.
- Copyright:
- Copyright (C) 2005-2020 Alfresco Software Limited
- License:
- GNU Lesser General Public License, see: Open Source Licensing
- Source:
Extends
Mixes In
Members
-
cssRequirements :object[]
-
An array of the CSS files to use with this widget.
Type:
- object[]
- Default Value:
- [{cssFile:"./css/AlfBreadcrumb.css"}]
- Source:
-
label :string
-
The label for the breadcrumb
Type:
- string
- Default Value:
- null
- Source:
-
path :string
-
The path for the breadcrumb.
Type:
- string
- Default Value:
- null
- Source:
-
publishPayload :object
-
This is the payload that will be published when the breadcrumb is clicked.
Type:
- object
- Default Value:
- null
- Source:
-
publishTopic :string
-
This is the topic that will be published when the breadcrumb is clicked.
Type:
- string
- Default Value:
- null
- Source:
-
templateString :String
-
The HTML template to use for the widget.
Type:
- String
- Source:
Methods
-
onClick(evt)
-
Handles mouse click and keyboard events to navigate to the location that the breadcrumb represents. Navigation is performed by publishing on the "ALF_NAVIGATE_TO_PAGE" topic
Parameters:
Name Type Description evt
object The click event - Source:
-
postCreate()
-
Implements the Dojo widget lifecycle method to set the label of the widget
- Source: