v2.23.0
-
The external dependency on jQuery UI was removed.
A new libraryjquery.fancytree-all-deps.min.js
is now added to the
distribution. It includes all dependencies on jQuery UI, so the only
remaining external dependency is jQuery.
Continue to usejquery.fancytree-all.min.js
if jQuery UI is already
included anyway. -
Refactored the select behavior
details:- [Added] Allow control of selection status propagation with new options:
unselectable
,unselectableIgnore
,unselectableStatus
. - [Added] node option
radiogroup
enables single-select for child nodes - [Added] option
opts.noEvents
tosetSelected(flag, opts)
- [Improved] Option 'checkbox' can have the string value "radio" (only visual
effect)
- [Added] Allow control of selection status propagation with new options:
-
BREAKING CHANGES:
- The
hideCheckbox
option was removed. Usecheckbox: false
instead.
Note that the<li class='hideCheckbox'>
is still parsed from input
HTML and converted accordingly. - The optional modifier class
<div class='fancytree-radio'>
was removed.
This class was used on the container to turn all checkbox items into
radio buttons.
Instead, this class is now added to<span class="fancytree-checkbox fancytree-radio">
.
Use thetree.checkox: "radio"
option to activate this for the whole tree. - The callback signature for the
tree.tooltip
option has changed to
tooltip(event, data)
- The
-
[Improved]
aria
option is now on by default -
Use the new dynamic options pattern for
checkbox
,icon
,tooltip
,unselectable
,unselectableIgnore
,
unselectableStatus
.
See also dynamic options. -
[Added] New method
node.visitSiblings()
-
[Added] #730 ext-persist option
expandOpts
is passed to setExpanded()
Allows to suppress animation or event generation.