Skip to content

Commit f1c015e

Browse files
committed
readme
1 parent 3e96ab1 commit f1c015e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
yii2-bootstrap-tree
22
===================
3-
Виджет основfный на [bootstrap-treeview](https://github.com/jonmiles/bootstrap-treeview)
3+
Widget for [bootstrap-treeview](https://github.com/jonmiles/bootstrap-treeview)
44

55
Installation
66
------------
@@ -33,12 +33,14 @@ Once the extension is installed, simply use it in your code by :
3333
'id'=>'treeview-tabs'
3434
],
3535
'options'=>[
36-
'data'=>$items,
36+
//https://github.com/jonmiles/bootstrap-treeview#options
37+
'data'=>$items, // $items structure https://github.com/jonmiles/bootstrap-treeview#data-structure
3738
'enableLinks'=>true,
3839
'showTags'=>true,
3940
'levels'=>3
4041
],
4142
'events'=>[
43+
//https://github.com/jonmiles/bootstrap-treeview#events
4244
'onNodeSelected'=>'function(event, data) {
4345
// Your logic goes here
4446
alert(data.href);

0 commit comments

Comments
 (0)