This should be used to wrap a set of AlfDocumentFilters
in order to achieve the "twisty" and correct look and feel as expected in a document library.
- Copyright:
- Copyright (C) 2005-2020 Alfresco Software Limited
- License:
- GNU Lesser General Public License, see: Open Source Licensing
- Source:
Extends
Members
-
cssRequirements :object[]
-
An array of the CSS files to use with this widget.
Type:
- object[]
- Default Value:
- [{cssFile:"./css/AlfDocumentFilters.css"}]
- Source:
-
filterPrefsName :string
-
Type:
- string
- Default Value:
- "docListFilterPref"
- Source:
-
i18nRequirements :object[]
-
An array of the i18n files to use with this widget.
Type:
- object[]
- Default Value:
- [{i18nFile: "./i18n/AlfDocumentFilters.properties"}]
- Source:
-
moreFiltersList :array
-
Type:
- array
- Default Value:
- null
- Source:
-
templateString :String
-
The HTML template to use for the widget.
Type:
- String
Methods
-
addFilter(widget, insertIndex)
-
Adds supplied widget to the 'contentNode' if it inherits from 'alfresco/documentlibrary/AlfDocumentFilter'
Parameters:
Name Type Description widget
object The widget to be added insertIndex
integer The index to add the widget at -
addMoreFilter()
-
Add a filter than will be initially hidden but will be revealed when clicking on the "More Choices" link
-
allWidgetsProcessed(widgets)
-
Overrides the inherited function to iterate over the processed widgets and call the 'addFilter' function passing each one as an argument.
Parameters:
Name Type Description widgets
object[] The widgets that were created. -
onShowLessClick()
-
onShowMoreClick()
-
postMixInProperties()
-
Extends the inherited function to set up the localized labels for the show more and show less links.