在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:airoot-uisys开源软件地址:https://gitee.com/uucckk/AIroot-UISYS开源软件介绍:AIroot UISYS
For example<@pub/><!-- define a module --><@define name="MyBox"> <div>Hello Baby!</div></@define><!-- you code here. --><div> <MyBox/> <MyBox/></div> How to run it?
pub D:\test\ :90
Other examples
<@pub/><!-- define a module --><@define name="MyBox"> <div>Hello Baby!</div></@define><!-- you code here. --><div> <!-- dom area --></div><script> function init(){ var box = new MyBox(); dom.appendChild(box); }</script>
<@pub/><!-- define a module --><@define name="MyBox"> <div>Hello Baby!</div></@define><!-- you code here. --><div id="ct"></div><script> function init(){ var box = new MyBox(); #ct.appendChild(box); }</script>
<!-- module MyBox code in D:\test\MyBox.ui --><div>Hello Baby!</div>
<!-- module Index code in D:\test\Index.ui --><@pub/><div> <MyBox/> <MyBox/></div>
use package
<!-- module Index code in D:\test\Index.ui --><@pub/><div> <mymod.MyBox/> <mymod.MyBox/></div>
<!-- module Index code in D:\test\Index.ui --><@pub/><@import value="mymod.MyBox" /><div> <MyBox/> <MyBox/></div>
|
2022-08-15
2022-08-17
2022-09-23
2023-10-27
2022-08-18
请发表评论