How to set data- attributes dynamically ? #3464
anjanesh
started this conversation in
4. General
Replies: 1 comment 7 replies
-
can you replicate? codepen is helpful. I'd expect it's just a race condition. |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Using Flowbite's navbar & AlpineJS to dynamically populate the HTML and assign
:data-collapse-toggle="menu.id
to:id="menu.id"
with an array of menu items.Beta Was this translation helpful? Give feedback.
All reactions