Releases: vinz3872/vuejs-tree
Releases · vinz3872/vuejs-tree
v3.0.2
v3.0.1 - Vue3
Breaking changes:
- Upgrade from
Vue 2
toVue 3
- The state.checked, state.selected and state.expanded keys are now mandatory
- Move customStyles 'tree' css in a 'style' key (customStyles.tree.style)
- The tree 'row' css must now be in the customStyles.row.style key
Other changes:
- Add typescript
- Add more documentation in code and refactor some functions
v2.1.0
New features:
- Add options to customize row's css and class
- Add
class
key to customize node's text in custom styles
Improvements:
- Edit the customStyles.row and customStyles.row.child format to have the same format as customStyles.text (Passing style directly to the customStyles.row is still possible)
v2.0.3
New features:
- Add the
rowIndent
key in the customOptions to change the css applied to each child's<ul>
. Mainly to be able to modify the tree node's indentation.
Fixes:
- Add default
text-align: left
to prevent indentation to go haywire when the node's text length is significantly different and there's a text-align: center on the parents.
v2.0.1
Style customization improvement
Params rework:
- Move the tree style from
myCustomOptions
tomyCustomStyles
- Improve the style customisation for tree and node
- Add
edit node
anddelete node
icons - Add default tree icons
- Add the possibility to overwrite the tree icons and style