Skip to content
Discussion options

You must be logged in to vote

Okey, instead of using x-html directive, I use x-effect with $nextTick

<div x-effect="$nextTick(() => { $el.innerHTML = html; })"></div>

Working (I don't understand why exactly, bit lucky)

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@peterhijma
Comment options

@gitvinodh
Comment options

@peterhijma
Comment options

Answer selected by Luddinus
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants