You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+20-12Lines changed: 20 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,13 +6,13 @@ A light-weight library for management of hierachical content. Most solutions I f
6
6
7
7
1.:heavy_check_mark: Hierachical rendering of content.
8
8
2. Event publishing/subscription from items
9
-
-Item (un)checked event
10
-
-:heavy_check_mark:Item moved (drag-and-drop)
11
-
- Custom formating of items on the tree based on the `type` property. (Coming soon)
9
+
-Subscribing to items checked event (based on type)
10
+
3.:heavy_check_mark:Moving Items between folders (drag-and-drop)
11
+
4. Custom formating of items on the tree based on the `type` property. (Coming soon)
12
12
-:heavy_check_mark: Customising Icons
13
13
- ✔️ Rendering (checkboxes or plain content)
14
-
- Custom Context Menu
15
-
3. Programmatically toggle item visibility based on the `type` property.
14
+
- Custom Context Menu depending on item type.
15
+
5. Programmatically toggle item visibility based on the `type` property.
16
16
17
17
## What it looks like.
18
18
@@ -70,18 +70,27 @@ You can customise item based on their `type` property.
70
70
71
71
```
72
72
73
-
### Making Items Checkable Or Plain Content
73
+
### Making Items Checkable Or Plain TreeView Item
74
74
75
-
You can customise if items of a particular `type` are checkable or just plain contents.
75
+
`Tree-vue` supports 2-major types of tree items. Checkable items or plain items. You can set your preferences for a particular `type`. To do so listen to the createdEvent of the `tree-view` component.
// This method is called when the tree view is created (on Created hook). And allows you to customise
94
-
// items using the payload passed into the function.
102
+
// This method is called when the tree view is created (on Created hook). And allows you to customise the tree-view items using the payload passed into the function.
0 commit comments