Description ¶
This widget is used to add a link or a button in a view and text copy to clipboard. This extension uses a plugin for jquery called ZeroClipboard by http://steamdev.com.
Requirements ¶
- Yii 1.6 or above.
Usage ¶
You have to download and upload files to /protected/extensions/Ezclip/.
Implementation: Add this code to a view.
Eg.
$this->widget( 'ext.EZClip.EZClip', array(
"type" => "input", //Type of HTML object eg. input, default is "textarea".
"idSelector" => "idText", //Id of HTML object.
));
Any widget to paste from clipboard out there?
I'm going to try this one, but I was looking for one in the other direction. Might be easy from the code in this widget. I am newby, so not really looking to do this just now. Nothing ventured, nothing...
If you have any questions, please ask in the forum instead.
Signup or Login in order to comment.