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

$api usage #9

Closed ericxin1982 closed 9 months ago

ericxin1982 commented 9 months ago

Hi @xinjie-zhang , @vimeshjs

Would you please share me more detail about $api, it looks magic but complex.

Thanks Eric Xin

xinjie-zhang commented 9 months ago

Yes. $api looks magic and is core of vimesh UI. You could study the source code for better understand the underlying mechanism. vimesh-headless heavily uses $api. There are many examples about $api usage in real cases.

ericxin1982 commented 9 months ago

Thanks