vimeshjs / vimesh-ui

Vimesh UI is an ultra lightweight library to build UI components for Alpine.js
MIT License
125 stars 5 forks source link

sethtml and dom, what the difference is #17

Closed ericxin1982 closed 9 months ago

ericxin1982 commented 9 months ago

$vui.setHtml(elContainer, html) Load html into a container element. And Vimesh UI components in the html will be correctly initialized $vui.dom(html) Load a plain html into dom with Vimesh UI components correctly initialized

Hi @xinjie-zhang

What is the difference for using them?

Thanks Eric Xin

ericxin1982 commented 9 months ago

I read code, and know more, no worry.