Closed konstantinov closed 10 years ago
It seems to be mistake in documentation:
var text = "Hello World!"; window.plugins.copy(text); window.plugins.paste(function (text) { alert(text); });
should be
var text = "Hello World!"; window.plugins.clipboard.copy(text); window.plugins.clipboard.paste(function (text) { alert(text); });
Thanks, the documentation was recently corrected. The plugin is now added as cordova.plugins.clipboard.
cordova.plugins.clipboard
It seems to be mistake in documentation:
should be