Color item¶
This webcomponent represents single color item which later can be used e.g. as color item which allows user to pick product color variant.
Attributes¶
Attribute name | Type | Default | Description |
---|---|---|---|
disable (optional) |
boolean | false | Adds a strikethrough line to the element, but it is still clickable |
unclickable (optional) |
boolean | false | Make item unselectable, which is also represents by the css 'not-allowed' cursor appearance |
size (optional) |
string | null | Allows to choose smaller sizes and adds the appropriate css classes. Available options are: 's' and 'xs' |
DOM Events¶
This webcomponent dispatches the following DOM events: