会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
永远的幻想
这个博客主要保存软件开发中“技”层面的知识点。 “术”、“道”,以及紫微、占星,放在https://xuanmanstein.wordpress.com/
博客园
首页
新随笔
联系
管理
订阅
2018年1月5日
angular在组件中选择dom元素
摘要: 想选择 在组件中选择自己template里的dom元素,要使用ElementRef。 import { Component, EventEmitter, HostListener, OnInit, Input, AfterViewInit, ElementRef } from '@angular/c
阅读全文
posted @ 2018-01-05 16:14 永远的幻想
阅读(711)
评论(0)
推荐(0)
编辑
公告