Files
alfresco-ng2-components/docs/content-services/search-filter.service.md
Andy Stark ad572fed1d [ADF-3921] Reviewed docs where deprecated content was removed (#4170)
* [ADF-3921] Reviewed cont services docs where deprecated stuff was removed

* [ADF-3921] Fixed YAML template and affected source links
2019-01-16 14:30:44 +00:00

1.2 KiB

Title, Added, Status, Last reviewed
Title Added Status Last reviewed
Search filter service 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.

See also