ref and el is null from slot-item #7250
Replies: 4 comments 2 replies
-
I think you can use like this: before get, you should use why use The type references are as follows
-> -> -> -> |
Beta Was this translation helpful? Give feedback.
-
You need to add a |
Beta Was this translation helpful? Give feedback.
-
ok found another way my solution if anyone maybe needs it or can give me feedback if this is a good approach or not 😃. in the parent breadcrumb I provide a function to add a state from the child and update the state in the parent
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I want to build a breadcrumb like this
in the breadcrumb file I want to loop all slot items and set different stylings and attributes on the elements
in the breadcrumb-item file I have set ref to the element li
Is there a way to get the ref or el of a slot-item?
Beta Was this translation helpful? Give feedback.
All reactions