Import
import { WrCopyToClipboard } from 'ngwr/directives';Usage
<button [wrCopyToClipboard]="value" (copied)="toast('Copied!')">Copy</button>API
| Name | Description | Type | Default |
|---|---|---|---|
[wrCopyToClipboard] | Copies the bound string on host click. (copied) / (copyFailed) outputs. | string | — |