Module: alfresco/lists/SortOrderToggle

alfresco/lists/SortOrderToggle

A specialization of the AlfMenubarToggle that should be used for changing the sort order of an AlfSortablePaginatedList.
Since:
  • 1.0.75
Author:
  • Dave Draper
License:
Source:

Example

Simple example for sort order toggling - just include in the page model!

{
  name: "alfresco/lists/SortOrderToggle"
}

Members

checked :boolean

Overrides the default checked value to be true.
Type:
  • boolean
Default Value:
  • true
Source:

checkedValue :boolean

Overrides the default checkedValue attribute to be "ascending" to match the value in sort request payloads.
Type:
  • boolean
Default Value:
  • "ascending"
Source:

subscriptionAttribute :boolean

Overrides the default subscriptionAttribute attribute to be "direction" to match the key in sort request payloads.
Type:
  • boolean
Default Value:
  • "direction"
Source:

subscriptionTopic :boolean

Overrides the default subscriptionTopic attribute to be the expected sort topic.
Type:
  • boolean
Source:

Methods

postMixInProperties()

Extends the inherited function to set the proper default onConfig and offConfig values unless externally configured.
Since:
  • 1.0.102
Source: