What does [[ mean? #433
-
|
I am very new to Svelte itself and I know that [[...]] in a route is considered as optional argument but in the use-focus action its used as follows, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
Hi! That's not related to Svelte itself but to the way the define the |
Beta Was this translation helpful? Give feedback.
Hi! That's not related to Svelte itself but to the way the define the
useprop. Theuseprop receives an array of actions, and each action entry contains the action and possible arguments for the action. It's better explained in the sectionSvelte Actionsin https://www.svelteui.org/basics