mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-14 18:01:06 +00:00
parent
6a55fef62e
commit
1ad4e3d385
7 changed files with 150 additions and 15 deletions
6
types/TreeView/TreeView.svelte.d.ts
vendored
6
types/TreeView/TreeView.svelte.d.ts
vendored
|
@ -103,4 +103,10 @@ export default class TreeView extends SvelteComponentTyped<
|
|||
* Collapses all nodes if no argument is provided
|
||||
*/
|
||||
collapseNodes: (filterId?: (node: TreeNode) => boolean) => void;
|
||||
|
||||
/**
|
||||
* Programmatically show a node by `id`.
|
||||
* The matching node will be expanded, selected, and focused
|
||||
*/
|
||||
showNode: (id: TreeNodeId) => void;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue