Represents an individual filter link. Should be added to a JSON model as a child widget of a
AlfDocumentFilters widget.
- Copyright:
- Copyright (C) 2005-2020 Alfresco Software Limited
- License:
- GNU Lesser General Public License, see: Open Source Licensing
- Source:
Extends
Mixes In
- external:dojo/_TemplatedMixin
- module:alfresco/core/Core
- module:alfresco/documentlibrary/_AlfDocumentListTopicMixin
Members
-
cssRequirements :object[]
-
An array of the CSS files to use with this widget.
Type:
- object[]
- Default Value:
- [{cssFile:"./css/AlfDocumentFilter.css"}]
- Source:
-
filter :string
-
The filter (or more accurately the filterId) for this filter
Type:
- string
- Default Value:
- null
- Source:
-
filterData :string
-
Additional data for the filter (appended after the filter with a bar, e.g. tag|sometag)
Type:
- string
-
hide :boolean
-
Indicates that the filter should be hidden. This will be set to "true" if any required data is missing
Type:
- boolean
- Default Value:
- false
- Source:
-
i18nRequirements :object[]
-
An array of the i18n files to use with this widget.
Type:
- object[]
- Default Value:
- [{i18nFile: "./i18n/AlfDocumentFilter.properties"}]
- Source:
-
templateString :String
-
The HTML template to use for the widget.
Type:
- String
Methods
-
onClick(evt)
-
Parameters:
Name Type Description evt
object The click event -
postCreate()
-
Listens to Events:
-
postMixInProperties()
-
Sets up the attributes required for the HTML template.