Module: alfresco/documentlibrary/AlfDocumentFilter

alfresco/documentlibrary/AlfDocumentFilter

Represents an individual filter link. Should be added to a JSON model as a child widget of a AlfDocumentFilters widget.
Author:
  • Dave Draper
License:
Source:

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
Source:

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
Source:

Methods

onClick(evt)

Parameters:
Name Type Description
evt object The click event
Source:

postCreate()

Source:
Listens to Events:

postMixInProperties()

Sets up the attributes required for the HTML template.
Source: