CopyableText QML Type
A text label with one-click copy functionality. More...
| Import Statement: | import FluentUI.Controls 1.0 |
Properties
- copiedText : string
- font : font
- text : string
Signals
- void copied()
Detailed Description
CopyableText displays a text string and allows the user to copy it to the clipboard with a single click or tap. It provides feedback text that can be customized for the copied state.
Property Documentation
copiedText : string
The text shown as brief feedback after the content has been copied.
font : font
The font used for the displayed text.
text : string
The text content displayed by the label.
Signal Documentation
void copied()
Emitted when the text has been successfully copied to the clipboard.
Note: The corresponding handler is onCopied.