[badgeHandler] function that gets an item and returns a badge value. Uses valueOf to get a number to show by default | TuiHandler<T> | |
[content] template for custom content in filter | PolymorpheusContent | |
[disabledItemHandler] a handler that gets an item and returns true if it is disabled. Must be a pure function | TuiBooleanHandler | |
[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[] | |
[size] size of items | TuiSizeS | TuiSizeL | |
(toggledItem) toggled event for an item | T |