ScopeJS.FilterOption
Captures state of multiple filters.
- Methods
has_filter( id )
Check if state for the given filter has been stored
Parameters:-
id<Object>String filter id
Returns:
True if state for the given filter has been stored
id( )
Get the identifier of this filter option
Returns:
String The option identifier
label( )
Get the label of this filter option
Returns:
String The option label
remove( id )
Removes the state for a specific filter
Parameters:-
id<Object>String filter id