Optional
alignSets the Container's align items property.
Optional
allowWhether dragging a TreeViewItem is allowed. Defaults to true
.
Optional
allowWhether renaming TreeViewItems is allowed by double clicking on them. Defaults to false
.
Optional
allowWhether reordering TreeViewItems is allowed. Defaults to true
.
Optional
bindingA binding to use with this Element.
Optional
childrenThe children of the current component.
Optional
classThe class attribute of this Element's HTMLElement.
Optional
domThe HTMLElement to create this Element with. If not provided this Element will create one.
Optional
dragThe element to scroll on drag. Defaults to this TreeView's DOM element.
Optional
enabledSets whether it is possible to interact with this Element and its children.
Optional
errorSets whether the Element is in an error state.
Optional
filterA filter that searches TreeViewItems and only shows the ones that are relevant to the filter.
Optional
flexSets whether the element uses flex layout.
Optional
flexSets the element's flexBasis
CSS property.
Optional
flexSets the element's flexDirection
CSS property.
Optional
flexSets the element's flexGrow
CSS property.
Optional
flexSets the element's flexShrink
CSS property.
Optional
flexSets the element's flexWrap
CSS property.
Optional
gridSets whether the Container supports the grid layout.
Optional
heightSets the initial height of the Element.
Optional
hiddenSets whether this Element is hidden. Defaults to false
.
Optional
idThe id attribute of this Element's HTMLElement.
Optional
ignoreIf true
, this Element will ignore its parent's enabled value when determining whether this element is enabled. Defaults to false
.
Optional
isSets whether this Element is at the root of the hierarchy.
Optional
linkLinks the observer attribute at the path location in the given observer to this Element.
Optional
onIf provided and the Element is changeable, this function will be called each time the element value is changed.
Optional
onIf provided and the Element is clickable, this function will be called each time the element is clicked.
Optional
onA function to be called when we right click on a TreeViewItem.
Optional
onIf provided and the Element is removable, this function will be called each time the element is removed.
Optional
onA function to be called when we try to reparent tree items. If a function is provided then the tree items will not be reparented by the TreeView but instead will rely on the function to reparent them as it sees fit.
Optional
onCalled when the Container has been resized.
Optional
parentSets the parent Element.
Optional
readWhether this Element is read only or not. Defaults to false
.
Optional
resizableSets whether the Container is resizable and where the resize handle is located. Can
be one of 'top', 'bottom', 'right', 'left'. Defaults to null
which disables resizing.
Optional
resizeSets the maximum size the Container can take when resized in pixels.
Optional
resizeSets the minimum size the Container can take when resized in pixels.
Optional
scrollableSets whether the Container should be scrollable.
Optional
styleSets an initial value for Element.dom.style.
Optional
tabSets the tabIndex of the Element.
Optional
widthSets the initial width of the Element.
The arguments for the TreeView constructor.