2017 © Pedro Peláez
 

yii2-extension yii2-bootstrap-tree

Виджет основаный на bootstrap-treeview

image

lesha724/yii2-bootstrap-tree

Виджет основаный на bootstrap-treeview

  • Saturday, January 20, 2018
  • by lesha724
  • Repository
  • 1 Watchers
  • 1 Stars
  • 710 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 6 Versions
  • 22 % Grown

The README.md

yii2-bootstrap-tree

Widget for bootstrap-treeview, (*1)

Installation

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

Either run, (*3)

php composer.phar require --prefer-dist lesha724/yii2-bootstrap-tree "*"

or add, (*4)

"lesha724/yii2-bootstrap-tree": "*"

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

Usage

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


'Node 1' 'icon' => "glyphicon glyphicon-stop", 'selectedIcon' => "glyphicon glyphicon-stop", 'href' => "#node-1", 'selectable' => true, 'state' => [ 'checked' => true, 'disabled' => true, 'expanded' => true, 'selected' => true ], 'tags' => ['available'], ..., 'nodes'=> [ ... ] ], [ 'text' => 'Folder 2', 'nodes' => [ ['text' => 'Node 2.1'], ['text' => 'Node 2.2'] ] ] ]; ?> = \lesha724\bootstraptree\TreeView::widget([ 'htmlOptions'=>[ 'id'=>'treeview-tabs' ], 'options'=>[ //https://github.com/patternfly/patternfly-bootstrap-treeview#options 'data'=>$items, 'enableLinks'=>true, 'showTags'=>true, 'levels'=>3 ], 'events'=>[ //https://github.com/patternfly/patternfly-bootstrap-treeview#events 'onNodeSelected'=>'function(event, data) { // Your logic goes here alert(data.href); }' ] ]); ?>

The Versions

20/01 2018

dev-master

9999999-dev https://github.com/lesha724/yii2-bootstrap-tree

Виджет основаный на bootstrap-treeview

  Sources   Download

MIT

The Requires

 

by Avatar lesha724

extension yii2 bootstrap widget tree treeview

19/01 2018

v1.1.1

1.1.1.0 https://github.com/lesha724/yii2-bootstrap-tree

Виджет основаный на bootstrap-treeview

  Sources   Download

MIT

The Requires

 

by Avatar lesha724

extension yii2 bootstrap widget tree treeview

09/12 2017

v1.1

1.1.0.0 https://github.com/lesha724/yii2-bootstrap-tree

Виджет основаный на bootstrap-treeview

  Sources   Download

MIT

The Requires

 

by Avatar lesha724

extension yii2 bootstrap widget tree treeview

07/02 2017

v1.0.1

1.0.1.0

Виджет основаный на bootstrap-treeview (https://github.com/lesha724/yii2-tree-view)

  Sources   Download

MIT

The Requires

 

by Avatar lesha724

extension yii2 bootstrap widget tree treeview

07/02 2017

v1.0.0

1.0.0.0

Виджет основыный на [bootstrap-treeview](https://github.com/lesha724/yii2-tree-view)

  Sources   Download

MIT

The Requires

 

by Avatar lesha724

extension yii2 bootstrap tree

07/02 2017

v0.0.1

0.0.1.0

Виджет основыный на [bootstrap-treeview](https://github.com/lesha724/yii2-tree-view)

  Sources   Download

MIT

The Requires

 

by Avatar lesha724

extension yii2 bootstrap tree