An icon button that copies a text to the clipboard and confirms it in a tooltip. Project the icon into it.
- Decorators
@Component - Selectors
ng-doc-copy-button
DeclarationTypeScript
@Component ({ … })
export class NgDocCopyButtonComponent { … }Members
Properties5 | |
clipboard: Clipboard | — |
label: | Accessible name of the button, also shown in its tooltip. |
text: | The text to copy, or a function that returns it when the button is pressed. |
tooltip: | The tooltip of the button. |
tooltipText: | — |
Methods1 | |
(): void | Copies the text and shows the confirmation. |
Signature Returns void | |
No members match.