Skip to main content

Copy button

shadow

Copy button umožňuje jedným kliknutím skopírovať želaný obsah do clipboardu. Podporované sú input, textarea, wj-input, wj-label a a element.

Základné použitie

Custom label

Pridaním vlastnosti label a label-success zmeníte text tooltipu po skopírovaní hodnoty.

Element

Input

WJ Input

Atribúty a Vlastnosti

for

DescriptionSpecifies the ID of the element whose content is copied.
Attributefor
Typestring
Defaultundefined

label

DescriptionSpecifies the value of the help text in the help.
Attributelabel
Typestring
Defaultundefined

label-success

DescriptionSpecifies the value of the help text in the help after a successful copy.
Attributelabel-success
Typestring
Defaultundefined

Eventy

No events available for this component.

Metódy

No public methods available for this component.

CSS Shadow Parts

No CSS shadow parts available for this component.

CSS Custom Vlastnosti

No CSS custom properties available for this component.

Sloty

No slots available for this component.