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
{{ message }}
This repository was archived by the owner on Dec 13, 2018. It is now read-only.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+75-11Lines changed: 75 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,19 +2,82 @@
2
2
All notable changes to this project will be documented in this file.
3
3
This project adheres to [Semantic Versioning](http://semver.org/).
4
4
5
-
## v1.1.0 - 29th March, 2015
5
+
## v1.2.0 - 9th May, 2015
6
6
7
7
### New Features
8
-
- Node states `expanded` and `selected` to set a node's initial state
9
-
- Methods `getNode`, `getParent` and `getSiblings` methods
10
-
- Methods `selectNode`, `unselectNode` and `toggleNodeSelected` methods
11
-
- Events `nodeUnselected`
12
-
- Option `multiSelect`
13
-
- Methods `expandAll`, `collapseAll`, `expandNode`, `collapseNode` and `toggleNodeExpanded` methods
14
-
- Events `nodeExpanded` and `nodeCollapsed` events
15
-
- Methods `search` and `clearSearch` methods,
16
-
- Events `searchComplete` and `searchCleared` events
17
-
- Options `highlightSearchResults`, `searchResultColor` and `searchResultBackColor`
8
+
9
+
- Disable nodes, allow a tree node to disabled (not selectable, expandable or checkable)
10
+
11
+
- Added node state property `disabled` to set a node initial state
12
+
13
+
- Methods `disableAll`, `disableNode`, `enableAll`, `enableNode` and `toggleNodeDisabled` added to control state programmatically
14
+
15
+
- Events `nodeDisabled` and `nodeEnabled`
16
+
17
+
- Checkable nodes, allows a tree node to be checked or unchecked.
18
+
19
+
- Added node state property `checked` to set a node initial state
20
+
21
+
- Pass option `{showCheckbox: true}` to initialize tree view with checkboxes
22
+
23
+
- Use options `checkedIcon` and `uncheckedIcon` to configure checkbox icons
24
+
25
+
- Methods `checkAll`, `checkNode`, `uncheckAll`, `uncheckNode` and `toggleNodeChecked` to control state programmatically
26
+
27
+
- Events `nodeChecked` and `nodeUnchecked`
28
+
29
+
- New option + node property `selectedIcon` to support displaying different icons when a node is selected.
30
+
31
+
- New search option `{ revealResults : true | false }` which when set to true will automatically expand the tree view to reveal matching nodes
32
+
33
+
- New method `revealNode` which expands the tree view to reveal a given node
34
+
35
+
- New methods to retrieve nodes by state : `getSelected`, `getUnselected`, `getExpanded`, `getCollapsed`, `getChecked`, `getUnchecked`, `getDisabled` and `getEnabled`
36
+
37
+
38
+
### Changes
39
+
- Removed nodeIcon by default, by popular demand. Use `{nodeIcon: 'glyphicon glyphicon-stop'}` in initial options to add a node icon.
40
+
41
+
- Search behaviour, by default search will the expand tree view and reveal results. Alternatively pass `{revealResults:false}`
42
+
43
+
- Method collapseNode accepts new option `{ ignoreChildren: true | false }`. The default is false, passing true will leave child nodes uncollapsed
44
+
45
+
46
+
### Bug Fixes
47
+
- Remove unnecessary render in clearSearch when called from search
48
+
49
+
- Child nodes should collapse by default on collapseNode
50
+
51
+
- Incorrect expand collapse icon displayed when nodes array is empty
52
+
53
+
54
+
55
+
56
+
## v1.1.0 - 29th March, 2015
57
+
58
+
### New Features
59
+
60
+
- Added node state properties `expanded` and `selected` so a node's intial state can be set
61
+
62
+
- New get methods `getNode`, `getParent` and `getSiblings` for retrieving nodes and their immediate relations
63
+
64
+
- New select methods `selectNode`, `unselectNode` and `toggleNodeSelected`
65
+
66
+
- Adding `nodeUnselected` event
67
+
68
+
- New global option `multiSelect` which allows multiple nodes to hold the selected state, default is false
69
+
70
+
- New expand collapse methods `expandAll`, `collapseAll`, `expandNode`, `collapseNode` and `toggleNodeExpanded`
71
+
72
+
- Adding events `nodeExpanded` and `nodeCollapsed`
73
+
74
+
- New methods `search` and `clearSearch` which allow you to query the tree view for nodes based on a `text` value
75
+
76
+
- Adding events `searchComplete` and `searchCleared`
77
+
78
+
- New global options `highlightSearchResults`, `searchResultColor` and `searchResultBackColor` for configuring how search results are displayed
79
+
80
+
18
81
19
82
20
83
## v1.0.2 - 6th February, 2015
@@ -24,4 +87,5 @@ This project adheres to [Semantic Versioning](http://semver.org/).
24
87
25
88
### Bug Fixes
26
89
- Events not unbound when re-initialised
90
+
27
91
- CSS selectors too general, affecting other page elements
0 commit comments