Interface ItemStyleGenerator
- All Superinterfaces:
Serializable
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
ItemStyleGenerator can be used to add custom styles to combo box items shown
in the overlay. The CSS class name that will be added to the item style names
is v-filterselect-item-[style name].
- See Also:
-
Method Summary
-
Method Details
-
getStyle
Called by combo box when an item is rendered.- Parameters:
source- the source combo boxitemId- The itemId of the item to be rendered. Can benullif null selection is allowed.- Returns:
- The style name to add to this item. (the CSS class name will be v-filterselect-item-[style name]
-