Skip to content

Releases: williamtroup/Tree.js

Tree.js v0.4.0 - New public functions and custom triggers!

24 Feb 15:41
0759fd2
Compare
Choose a tag to compare

Binding Options - Custom Triggers:

  • Added a new binding option custom trigger called "onDestroy", which states an event that should be triggered when an element is destroyed.

Public Functions:

  • Added new public function "getIds()", which will return all the IDs for the elements that have been rendered.
  • Added new public function "destroy()", which will revert a rendered DOM element to its original state.
  • Added new public function "destroyAll()", which will revert all rendered DOM elements to their original state.

Tree.js v0.3.0 - New option, public functions, and refreshing support!

22 Feb 11:53
f3d61ef
Compare
Choose a tag to compare

New Features:

  • Added full refreshing support via public functions and a new title bar button (off by default).

Binding Options:

  • Added a new binding option called "useDecreasingHeightsForBoxes", which states if decreasing heights should be used for the boxes (defaults to true).
  • Added a new binding option called "showRefreshButton", which states if the "Refresh" button should be shown (defaults to false).

Binding Options - Custom Triggers:

  • Added a new binding option custom trigger called "onRefresh", which states an event that should be triggered when a rendered element is refreshed.

Public Functions:

  • Added a new public function "moveToPreviousCategory()", which will move to the next category for a specific element and then refresh its UI.
  • Added a new public function "moveToNextCategory()", which will move to the previous category for a specific element and then refresh its UI.
  • Added a new public function "refresh()", which refreshes the UI for a specific element.
  • Added a new public function "refreshAll()", which will refresh all the rendered elements.

Configuration Options:

  • Added a new configuration option called "refreshButtonText", which states the text that should be shown for the "Refresh" button (defaults to "Refresh").

Tree.js v0.2.0 - New options and documentation improvements!

20 Feb 11:11
1687bd7
Compare
Choose a tag to compare

Binding Options:

  • Added a new binding option called "showChildrenToggle", which states if the "Show Children" toggle check box should be shown (defaults to true).
  • Added a new binding option called "showDescriptionsToggle", which states if the "Show Descriptions" toggle check box should be shown (defaults to true).
  • Added a new binding option called "showContentsToggle", which states if the "Show Contents" toggle check box should be shown (defaults to true).
  • Added a new binding option called "showCategorySelector", which states if the category selector (and buttons) is shown (defaults to true).
  • Added a new binding option called "showCategorySelectionDropDown", which states if the category selection drop-down menu is shown (defaults to true).

Documentation:

  • Fixed a grammar mistake in the project description.
  • Fixed grammar mistakes in other areas of the documentation.
  • Moved the "DATA_FORMAT.md" file into "binding" and renamed it to "DATA.md".

Tree.js v0.1.0 - Everything :)

15 Feb 19:05
Compare
Choose a tag to compare