void setClipboard(string pasteData)

Sets the clipboard with text

Security

Trust Level Required: Full Trust

Parameters

Name Description
pasteData string
The text to save to the clipboard

Return

Nothing returned

Examples


var pastebox = document.getElementById('pastebox');

setTimeout(function(){
	KioUtils.setClipboard('Copied to clipboard from JS call');
	console.log('Copied text to clipboard');
}, 1000);

pastebox.addEventListener('click', function(event){
	KioUtils.paste();
	console.log('Pasted text from clipboard');
});

Requirements

KioWare OS (Linux®) version 1.0 or greater.


Linux® is the registered trademark of Linus Torvalds in the U.S. and other countries.