Skip to content

Commit b74fcb4

Browse files
author
Niels Dequeker
committed
Update documentation for collapsing and expanding all nodes of the tree
1 parent 5fd4194 commit b74fcb4

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -172,13 +172,14 @@ If a tree is empty, there will be an empty placeholder which is used to drop nod
172172
</div>
173173
```
174174

175-
#### Methods of scope
176-
##### collapseAll()
175+
#### Events
176+
`angular-ui-tree:collapse-all`
177177
Collapse all it's child nodes.
178178

179-
##### expandAll()
179+
`angular-ui-tree:expand-all`
180180
Expand all it's child nodes.
181181

182+
#### Methods of scope
182183
##### $callbacks (type: Object)
183184
`$callbacks` is a very important property for `angular-ui-tree`.
184185
When some special events trigger, the functions in `$callbacks` are called.

0 commit comments

Comments
 (0)