mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 18:31:06 +00:00
parent
6a55fef62e
commit
1ad4e3d385
7 changed files with 150 additions and 15 deletions
|
@ -92,4 +92,12 @@ Use the `TreeView.collapseNodes` method to collapse a subset of nodes.
|
|||
|
||||
If no argument is provided, all nodes will be collapsed.
|
||||
|
||||
<FileSource src="/framed/TreeView/TreeViewCollapseNodes" />
|
||||
<FileSource src="/framed/TreeView/TreeViewCollapseNodes" />
|
||||
|
||||
## Show a specific node
|
||||
|
||||
Use the `TreeView.showNode` method to show a specific node.
|
||||
|
||||
If a matching node is found, it will be expanded, selected, and focused.
|
||||
|
||||
<FileSource src="/framed/TreeView/TreeViewShowNode" />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue