copy to clipboard library ionic 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');