File tree 1 file changed +20
-26
lines changed
1 file changed +20
-26
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,26 @@ treeview component (beta)
16
16
</u1-tree1 >
17
17
```
18
18
19
+ ## API
20
+
21
+ ``` js
22
+ el .select ();
23
+ el .toggleExpand (true / false );
24
+ ```
25
+
26
+ ## Install
27
+
28
+ ``` html
29
+ <link href =" https://cdn.jsdelivr.net/gh/u1ui/tree1.el@1.0.0/tree1.min.css" rel =stylesheet >
30
+ <script src =" https://cdn.jsdelivr.net/gh/u1ui/tree1.el@1.0.0/tree1.min.js" type =module >
31
+ ` ` `
32
+
33
+ ## Demos
34
+
35
+ [custom.html](https://raw.githack.com/u1ui/tree1.el/main/tests/custom.html)
36
+ [minimal.html](https://raw.githack.com/u1ui/tree1.el/main/tests/minimal.html)
37
+ [test.html](https://raw.githack.com/u1ui/tree1.el/main/tests/test.html)
38
+
19
39
## Settings
20
40
21
41
### aria-expanded
@@ -45,32 +65,6 @@ treeElement.addEventListener('u1-tree1-collapse', (e) => {...});
45
65
treeElement.addEventListener('u1-tree1-select', (e) => { ... });
46
66
` ` `
47
67
48
- ## API
49
-
50
- ``` js
51
- el .select ();
52
- el .toggleExpand (true / false );
53
- ```
54
-
55
- ## Demos
56
-
57
- https://raw.githack.com/u1ui/tree1.el/main/tests/custom.html
58
- https://raw.githack.com/u1ui/tree1.el/main/tests/minimal.html
59
- https://raw.githack.com/u1ui/tree1.el/main/tests/test.html
60
-
61
- ## Install
62
-
63
- ``` html
64
- <link href =" https://cdn.jsdelivr.net/gh/u1ui/tree1.el@1.0.0/tree1.min.css" rel =stylesheet >
65
- <script src =" https://cdn.jsdelivr.net/gh/u1ui/tree1.el@1.0.0/tree1.min.js" type =module >
66
- ` ` `
67
-
68
- ## Demo
69
-
70
- https://raw.githack.com/u1ui/tree1.el/main/tests/custom.html
71
- https://raw.githack.com/u1ui/tree1.el/main/tests/minimal.html
72
- https://raw.githack.com/u1ui/tree1.el/main/tests/test.html
73
-
74
68
## About
75
69
76
70
- MIT License, Copyright (c) 2022 < u1> (like all repositories in this organization) < br>
You can’t perform that action at this time.
0 commit comments