ClickToCopyText
Overview
Displays a text value alongside a button that copies it to the clipboard and shows a toast notification on success.
Theme entry: ClickToCopyText
Props
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| themeOverride | String|Object|Array | null | A partial theme object merged with the component's default theme; accepts a class string, class array, or theme object. | |
| text | string | yes | The text value to display and copy to the clipboard. | |
| toast | string | null | Toast message shown after copying. Defaults to "<text> copied". |
Slots
text
Scoped slot.
Bindings
| Name | Description |
|---|---|
| text |
copy-button
Scoped slot.
Source
client/lib/display/click-to-copy-text/ClickToCopyText.vue