Filter KIT

Examples API Setup
-
Name and descriptionTypeValue
[badgeHandler] Function that gets and item and returns a badge value. Uses valueOf to get a number to show by default TuiHandler<T> null
[content] Template for custom content in filter PolymorpheusContent
[disabledItemHandler]
A handler that gets a date and returns true if it is disabled.
Must be a pure function
TuiBooleanHandler null
[identityMatcher] Function that matches value and items, e.g. if objects are copied. Uses === by default. Must be a pure function TuiIdentityMatcher
[items] Filter items. Can be an array of strings or an array of objects. If no custom template provided, it uses toString for view T[] null
[size] Size TuiSizeS  |  TuiSizeL null
(toggledItem) Toggled event of item T