Angular自定义指令

Angular自定义指令 我是上帝可爱多 关注 2017.07.20 15:18* 字数 560 阅读 420 评论 0 喜欢 3 新建一个firstDirective.ts 文件 内容以下 import { Directive, ElementRef, Input } from '@angular/core'; @Directive({'selector':[first]}) export cl
相关文章
相关标签/搜索