Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CopyBase

A config containing properties for copy components

Hierarchy

Index

Constructors

constructor

Properties

buttonAriaLabel

buttonAriaLabel: string

Copy button aria label (announced to screen readers)

onCopy

onCopy: EventEmitter<Object> = new EventEmitter()

Event emitted when values are copied to the clipboard

tooltip

tooltip: string

A tooltip that describes the value to be copied

tooltipPlacement

tooltipPlacement: string = "top"

Placement for the tooltip

value

value: string

The value to be copied to the clipboard

Accessors

recentlyCopied

  • get recentlyCopied(): boolean
  • Returns the flag indicating copy action has just happened

    Returns boolean

    True if copy action has been triggered

Methods

copy

  • copy(): void

Generated using TypeDoc