Skip to content

v2.23.0

Compare
Choose a tag to compare
@mar10 mar10 released this 27 May 20:10
· 588 commits to master since this release
  • The external dependency on jQuery UI was removed.
    A new library jquery.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 use jquery.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 to setSelected(flag, opts)
    • [Improved] Option 'checkbox' can have the string value "radio" (only visual
      effect)
  • BREAKING CHANGES:

    • The hideCheckbox option was removed. Use checkbox: 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 the tree.checkox: "radio" option to activate this for the whole tree.
    • The callback signature for the tree.tooltip option has changed to
      tooltip(event, data)
  • [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.

Commit details.