Tag
Overview
This is an extra component used in the VBasePicker
component, now as a
standalone component.
Variants
Label with close
Label no close
<VTagContainer>
<VTag @close="closeHandler">Label with close</VTag>
<VTag :show-close="false">Label no close</VTag>
</VTagContainer>
1
2
3
4
2
3
4
API
Properties
Property | Type | Required | Default | Description |
---|---|---|---|---|
showClose | Boolean | false | true | Controls if the close button is shown. |
Slots
Slot | Description |
---|---|
default | The text of the tag. |
Events
Event | Payload | Description |
---|---|---|
close | null | This event is emitted when the close button is clicked. |