摘要: 1. angular2中的属性有什么区别,为什么会报错呢? 元素上有两种属性:property和attribute,attribute是通过getAttribute()和setAttribute()方法进行操作,property是直接通过元素DOM对象的属性方式方式访问,比如div.someProp 阅读全文
posted @ 2017-12-27 16:31 echo2016 阅读(1169) 评论(0) 推荐(0) 编辑