2017年10月11日

组件笔记

摘要: 组件作用就是扩展html元素, 封装可重用的代码。 组件使用步骤: ①创建组件构造器 ②注册 ③使用 <div id="testComponent" class="wrap container"> <my-component></my-component> </div> <script type=" 阅读全文

posted @ 2017-10-11 22:50 马伯安 阅读(146) 评论(0) 推荐(0) 编辑

导航