SortableStoreBehavior
Extends:
src/behaviors/behavior~Behavior → SortableStoreBehavior
Constructor Summary
Public Constructor | ||
public |
constructor(instance: *, objectPattern1: {"collection": *}) |
Member Summary
Public Members | ||
public get |
$filter: * |
|
public |
collection: * |
|
public get |
|
|
public get |
transformer: * |
Method Summary
Public Methods | ||
public |
onSortChange(expression: String/Array/Boolean) This is a handler proxy for the Store.
|
|
public |
|
Public Constructors
public constructor(instance: *, objectPattern1: {"collection": *}) source
Params:
Name | Type | Attribute | Description |
instance | * | ||
objectPattern1 | {"collection": *} |
|
Public Members
public get $filter: * source
public collection: * source
public get transformableCollection: * source
public get transformer: * source
Public Methods
public onSortChange(expression: String/Array/Boolean) source
This is a handler proxy for the Store. It get's called with the payload of the ENTITY_SORT_CHANGE action.
Params:
Name | Type | Attribute | Description |
expression | String/Array/Boolean | This can be any valid angular orderBy $filter expression, or a reverse boolean if the collection we are sorting contains primitives. Valid angular orderBy $filter expressions are
|