Tree
Quasar Tree represents a highly configurable component that displays hierarchical data, such as a table of contents in a tree structure.
Trees are stripped out of any design by default so you can
easily stylize and turn them into anything you want.
Basic Usage
<q-tree |
Tree model structure
treeModel: [ |
Handler Method
Items containing a handler
method will make those items trigger the handler method when clicked/tapped.
The handler is passed the item as an argument.
Vue Properties
Vue Property | Description |
---|---|
model | Vue model for the Tree |
contract-html | HTML to display at the end of each item; when user clicks on it its branch contracts |
expand-html | HTML to display at the end of each item; when user clicks on it its branch expands |