ezclip A widget to copy to clipboard

  1. Description
  2. Requirements
  3. Usage

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

  1. You have to download and upload files to /protected/extensions/Ezclip/.

  2. 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.
  ));
4 0
5 followers
864 downloads
Yii Version: 1.1
License: MIT
Category: User Interface
Developed by: dasgarza
Created on: Apr 20, 2011
Last updated: 13 years ago

Downloads

show all

Related Extensions