Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mistake in documentation #3

Closed
konstantinov opened this issue Dec 25, 2013 · 1 comment
Closed

Mistake in documentation #3

konstantinov opened this issue Dec 25, 2013 · 1 comment

Comments

@konstantinov
Copy link

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); });
@ctrevisan
Copy link
Contributor

Thanks, the documentation was recently corrected. The plugin is now added as cordova.plugins.clipboard.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants