mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
* [ADF-2824] Moved search widget docs into separate pages * [ADF-2824] Separated search widget page and added search filter service docs * [ADF-2824] Updated new search docs with doc tools
994 B
994 B
Added, Status, Last reviewed
Added | Status | Last reviewed |
---|---|---|
v2.4.0 | Active | 2018-06-12 |
Search filter service
Registers widgets for use with the Search Filter component.
Details
This component keeps track of all widgets registered for use with the Search Filter component. All the built-in widgets are registered by default but you should register any new custom widgets you create explicitly:
import { MyComponent } from './my-component.ts'
@Component({...})
export class MyAppOrComponent {
constructor(searchFilterService: SearchFilterService) {
searchFilterService.widgets['my-widget'] = MyComponent;
}
}
See the Search Widget interface page for details about creating your own custom search widgets.