diff --git a/docs/src/pages/components/TreeView.svx b/docs/src/pages/components/TreeView.svx index daaf5205..d97b5057 100644 --- a/docs/src/pages/components/TreeView.svx +++ b/docs/src/pages/components/TreeView.svx @@ -49,7 +49,7 @@ Initial multiple selected nodes can be set using `selectedIds`. ### 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.