Skip to content

Commit

Permalink
use copy instead of copyFromContent
Browse files Browse the repository at this point in the history
  • Loading branch information
maxisam authored Aug 6, 2020
1 parent f87244c commit 4d87357
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export class AppComponent implements OnInit {
});
}
callServiceToCopy() {
this._clipboardService.copyFromContent('This is copy thru service copyFromContent directly');
this._clipboardService.copy('This is copy thru service copyFromContent directly');
}

onCopyFailure() {
Expand Down

0 comments on commit 4d87357

Please sign in to comment.