Skip to content

Commit

Permalink
docs: example use_methods not working (fixes #513)
Browse files Browse the repository at this point in the history
  • Loading branch information
josdejong committed Jan 24, 2025
1 parent a345659 commit cd66713
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/routes/examples/use_methods/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
}
function expandAll() {
refJsonEditor.expand(() => true)
refJsonEditor.expand([], () => true)
}
function collapseAll() {
refJsonEditor.expand(() => false)
refJsonEditor.collapse([], true)
}
</script>

Expand Down

0 comments on commit cd66713

Please sign in to comment.