OptionalalignSets the Container's align items property.
OptionalallowWhether dragging a TreeViewItem is allowed. Defaults to true.
OptionalallowWhether renaming TreeViewItems is allowed by double clicking on them. Defaults to false.
OptionalallowWhether reordering TreeViewItems is allowed. Defaults to true.
OptionalbindingA binding to use with this Element.
OptionalchildrenThe children of the current component.
OptionalclassThe class attribute of this Element's HTMLElement.
OptionaldomThe HTMLElement to create this Element with. If not provided this Element will create one.
OptionaldragThe element to scroll on drag. Defaults to this TreeView's element.
OptionalenabledSets whether it is possible to interact with this Element and its children.
OptionalerrorSets whether the Element is in an error state.
OptionalfilterA filter that searches TreeViewItems and only shows the ones that are relevant to the filter.
OptionalflexSets whether the element uses flex layout.
OptionalflexSets the element's flexBasis CSS property.
OptionalflexSets the element's flexDirection CSS property.
OptionalflexSets the element's flexGrow CSS property.
OptionalflexSets the element's flexShrink CSS property.
OptionalflexSets the element's flexWrap CSS property.
OptionalgridSets whether the Container supports the grid layout.
OptionalheightSets the initial height of the Element.
OptionalhiddenSets whether this Element is hidden. Defaults to false.
OptionalidThe id attribute of this Element's HTMLElement.
OptionalignoreIf true, this Element will ignore its parent's enabled value when determining whether this element is enabled. Defaults to false.
OptionalisSets whether this Element is at the root of the hierarchy.
OptionallinkLinks the observer attribute at the path location in the given observer to this Element.
OptionalonIf provided and the Element is changeable, this function will be called each time the element value is changed.
OptionalonIf provided and the Element is clickable, this function will be called each time the element is clicked.
OptionalonA function to be called when we right click on a TreeViewItem.
OptionalonIf provided and the Element is removable, this function will be called each time the element is removed.
OptionalonA 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.
OptionalonCalled when the Container has been resized.
OptionalparentSets the parent Element.
OptionalreadWhether this Element is read only or not. Defaults to false.
OptionalresizableSets 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.
OptionalresizeSets the maximum size the Container can take when resized in pixels.
OptionalresizeSets the minimum size the Container can take when resized in pixels.
OptionalscrollableSets whether the Container should be scrollable.
OptionalstyleSets an initial value for Element.dom.style.
OptionaltabSets the tabIndex of the Element.
OptionalwidthSets the initial width of the Element.
The arguments for the TreeView constructor.