src/ui/filter/smart-filter-registry.service.ts
A service used to register Smart Filters and obtain references to them.
Properties |
Methods |
deregisterFilter | ||||||
deregisterFilter(name: string)
|
||||||
Deregisters the ISmartFilter registered under the given name and allows another ISmartFilter to be registered under that name.
Parameters :
Returns :
void
|
getFilter | ||||||
getFilter(name: string)
|
||||||
Returns the ISmartFilter instance registered under the given name.
Parameters :
Returns :
ISmartFilter
|
registerFilter | |||||||||
registerFilter(name: string, filter: ISmartFilter)
|
|||||||||
Registers a Smart Filter under the given name. Throws an error if a Smart Filter has already been registered under that name.
Parameters :
Returns :
void
|
registerStaticFilter | |||||||||
registerStaticFilter(name: string, filter: SmartStaticFilterComponent)
|
|||||||||
Registers a Static Smart Filter under the given name. Throws an error if a Smart Filter has already been registered under that name.
Parameters :
Returns :
void
|
filterRegistered |
Type : EventEmitter<FilterRegistryEvent>
|
Default value : new EventEmitter<
FilterRegistryEvent
>()
|
Fires when a Smart Filter has been registered. |
filterRemoved |
Type : EventEmitter<FilterRegistryEvent>
|
Default value : new EventEmitter<
FilterRegistryEvent
>()
|
Fires when a Smart Filter has been deregistered. |