2017 © Pedro Peláez
 

extension wgt-jstree

Widget JsTree

image

panix/wgt-jstree

Widget JsTree

  • Tuesday, November 28, 2017
  • by andrtechno
  • Repository
  • 1 Watchers
  • 0 Stars
  • 15 Installations
  • JavaScript
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Widget JsTree 3.3.x

Widget for Yii Framework 2.0 to use JsTree, (*1)

Latest Stable Version Total Downloads Monthly Downloads Daily Downloads Latest Unstable Version License, (*2)

Installation

The preferred way to install this extension is through composer., (*3)

Either run, (*4)

php composer require --prefer-dist panix/wgt-jstree "*"

or add, (*5)

"panix/wgt-jstree": "*"

to the require section of your composer.json file., (*6)

Usage

Once the extension is installed, simply use it in your code by :, (*7)

<?= \panix\ext\jstree\JsTree::widget([
    'attribute' => 'attribute_name',
    'model' => $model,
    'core' => [
        'data' => $data
        //...
    ],
    'plugins' => ['types', 'dnd', 'contextmenu', 'wholerow', 'state'],
    //...
]); ?>
<?= \panix\ext\jstree\JsTree::widget([
    'core' => [
        'data' => $data
        //...
    ],
    'plugins' => ['types', 'dnd', 'contextmenu', 'wholerow', 'state'],
    //...
]); ?>

The Versions

28/11 2017

dev-master

9999999-dev https://github.com/andrtechno/wgt-jstree

Widget JsTree

  Sources   Download

MIT BSD 3-Clause

The Requires

 

extension form widget jstree corner-cms