Tokens are small items of information (similar to tags) that mainly serve to visualize previously selected items.
ES6 Module Import​
import "@ui5/webcomponents/dist/Token.js";
Basic Sample​
Properties​
Description | Defines the text of the token. |
Type | string | undefined |
Default | undefined |
selected​
Description | Defines whether the component is selected or not. |
Type | boolean |
Default | false |
closeIcon​
Description | Defines the close icon for the token. If nothing is provided to this slot, the default close icon will be used. Accepts ui5-icon . |
Type | Array<IIcon> |
Since | 1.0.0-rc.9 |
Events