Name and description | Type | Value |
---|---|---|
[badgeHandler] Function that gets and item and returns a badge value. Uses valueOf to get a number to show by default | TuiHandler<T> | item=>Number(item) |
[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 | ()=>!1 |
[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[] | ['Alex Inkin', 'Roman Sedov'] |
[size] Size | TuiSizeS | 'l' |
(toggledItem) Toggled event of item | T |