Skip to content
Discussion options

You must be logged in to vote

It's a bit unclear since there is some abstraction there that isn't shown. I know htmx a bit.

the ref will be added to the nearest parent x-data when the element is added.

Might be helpful if you could show the actual html output from this, since alpine only cares about that, not the templating or how you get there.

if the @click is being registered, then Alpine has seen the elements there, so there isn't any reason to do initTree

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@capymind
Comment options

@SimoTod
Comment options

SimoTod Feb 25, 2023
Collaborator

@capymind
Comment options

@SimoTod
Comment options

SimoTod Feb 25, 2023
Collaborator

@ekwoka
Comment options

Answer selected by capymind
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants