Global search

Global searchlink

Imports

import { GlobalSearchModule } from '@finastra/angular-components/global-search';

Inputs

PropertyTypeDefault ValueDescription
resultItemTemplate TemplateRef<any> Custom template to be used for wrapping a result item
results array Results to be assigned after a 'onSearchTermChange'
showFilter boolean true Shows a right-side filter panel for additional filtering (based on the 'groupBy' property)
itemDivider boolean true Defines if a divider should be shown between result group items
itemsLayout 'row' | 'column' column Defines if the results layout applies a vertical orientation (row) or horizontal one (column)
groupDivider boolean true Defines if a divider should be shown between result groups (only used if 'groupBy' is defined)
groupBy string Property to be used when grouping search results (if not specified, results will be un-grouped)

Outputs

PropertyType Description
resultItemClick EventEmitter() Event emitted when a result item is clicked
searchTermChange EventEmitter<string>() Event emitted every time the search terms changes

Be curious, check the code here 👀
Star the repo ⭐️
Contribute 💃🕺