diff --git a/src/app/app.component.ts b/src/app/app.component.ts index b8da13c..c832dca 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -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() {