In each component where data-hs-XXX ='{
"loadingClasses": "opacity-0"
}'
it show error like this in sveltekit
Expected }svelte(unexpected-token)
Expected }ts(-1)
@PriyanshIotWiz Hi,
Try using data attributes like this
data-hs-*={`{...rest of the parameters}`}
You need to put the options object (as a string) between the curly braces.
We have an example of using data options on the "Select" demo page.
Summary
In component where inline
Steps to Reproduce
Copy from Dropdown Using JSON example in dropdown. and paste in sveltekit html
it show error like this So I have to relace this red mark with this and its working
Demo Link
sad
Expected Behavior
No response
Actual Behavior
No response
Screenshots
No response
In each component where data-hs-XXX ='{ "loadingClasses": "opacity-0" }' it show error like this in sveltekit Expected }svelte(unexpected-token) Expected }ts(-1)
For example:
For example:
@PriyanshIotWiz Hi, Try using data attributes like this
data-hs-*={`{...rest of the parameters}`}
You need to put the options object (as a string) between the curly braces. We have an example of using data options on the "Select" demo page.