Closed ericxin1982 closed 9 months ago
Hi @xinjie-zhang
I knew that is an example only, but if I would to use, then I need a template instance right, since need to distinguish the element from each other. How to do is elegant?
Thanks Eric Xin
You could use alpine.js x-id & $id. https://alpinejs.dev/directives/id
OK.
Hi @xinjie-zhang
I knew that is an example only, but if I would to use, then I need a template instance right, since need to distinguish the element from each other. How to do is elegant?
Thanks Eric Xin