Skip to content

Commit 5151005

Browse files
committed
Update README.md
1 parent 858c1db commit 5151005

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,12 @@ An alternative syntax is given that might make it more obvious what we are doing
6767
</ul>
6868
```
6969

70+
`dx-start-with` and `dx-connect` provides the variables:
71+
72+
- `$dxPrior`: the object passed to `dx-start-with` or `dx-connect`.
73+
- `$dxRoot`: true if this is the root level, otherwise false.
74+
- `$dxLevel`: the level of recursion we are at starting at 0.
75+
7076
IMPORTANT!:
7177

7278
The template is the inner html of the dx-tree directive, this is important to know so that you get it right when defining the dx-node. as such if you put the dx-tree directly on the ul, the dx-node must also be an ul (or ol).

0 commit comments

Comments
 (0)