mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-20 20:33:02 +00:00
docs(tree-view): avoid redundant copy
This commit is contained in:
parent
1a470cb331
commit
872f90cc37
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ Initial multiple selected nodes can be set using `selectedIds`.
|
||||||
|
|
||||||
### Expand all nodes
|
### Expand all nodes
|
||||||
|
|
||||||
To programmatically expand all nodes, access the component instance using the [bind:this](https://svelte.dev/docs#bind_element) directive and invoke the `TreeView.expandAll()` method to expand all nodes.
|
To programmatically expand all nodes, access the component instance using the [bind:this](https://svelte.dev/docs#bind_element) directive and invoke the `TreeView.expandAll()` accessor.
|
||||||
|
|
||||||
<FileSource src="/framed/TreeView/TreeViewExpandAll" />
|
<FileSource src="/framed/TreeView/TreeViewExpandAll" />
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue