yii2-jeditable JQuery Editable extension For Yii 2

yii2-jeditable

  1. Installation
  2. Usage

JQuery Editable extension For Yii 2

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist powerkernel/yii2-jeditable "*"

or add

"powerkernel/yii2-jeditable": "*"

to the require section of your composer.json.

Usage

Once the extension is installed, simply use it in your code by :

<?=
    \powerkernel\jeditable\Editable::widget([
        'content' => 'Editable content here',
        'saveUrl'=>Yii::$app->urlManager->createUrl(['#save-url']),
        'clientOptions'=>[
            'tooltip'=>'click to edit',
            'indicator'=>'saving...'
        ]
    ]);
?>

More info visit: http://www.appelsiini.net/projects/jeditable

1 0
2 followers
0 downloads
Yii Version: 2.0
License: BSD-2-Clause
Category: User Interface
Developed by: Harry Tang
Created on: Jul 23, 2016
Last updated: 6 years ago

Related Extensions