ionic copy to clipboard button code example
Example: ionic copy to clipboard
import { Clipboard } from '@ionic-native/clipboard/ngx';
constructor(private clipboard: Clipboard) { }
...
this.clipboard.copy('Hello world');
import { Clipboard } from '@ionic-native/clipboard/ngx';
constructor(private clipboard: Clipboard) { }
...
this.clipboard.copy('Hello world');