会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
Jnew
博客园
首页
新随笔
联系
订阅
管理
2018年4月15日
angular custom Element 自定义web component
摘要: angular 自定义web组件: 首先创建一个名为myCustom的组件。 引入app.module: 全局注册: app.component: Ok,这样完成了'my-test'的全局,接下来可以像是用web component那样使用它了. 进入我们的主html: Index.html 注意:
阅读全文
posted @ 2018-04-15 14:31 Jnew
阅读(1535)
评论(0)
推荐(0)
编辑
公告