Provides methods to control the search-ui. The service can be referenced via search-ui.SearchUiService.
search-ui.SearchUiService
const service = this.searchUiService; // injected service.reset(); // or service.reset({searchText: "My text"}); ... Copy
const service = this.searchUiService; // injected service.reset(); // or service.reset({searchText: "My text"}); ...
const service = this.searchUiService; // injected service.on("reset", ()=>{ // react to the reset of the search ui }); ... Copy
const service = this.searchUiService; // injected service.on("reset", ()=>{ // react to the reset of the search ui }); ...
Registers event listener.
Resets the UI. Optionally accepts a text to be displayed in the search field.
Optional
Generated using TypeDoc
Provides methods to control the search-ui. The service can be referenced via
search-ui.SearchUiService
.Example: Reset the search
Example: Listen for reset event of the search ui