angularjs-----内嵌的JQlite

addClass()--添加新样式到class中

after()

append()--追加DOM元素到末尾

attr()--添加或获取属性---不支持用函数做为参数

bind()--绑定事件---不支持命名空间,选择器,事件对象

children()--选择子元素---不支持选择器

clone()--克隆元素

contents()

css()--添加样式属性---只返回内联样式style="", 不调用getComputedStyle(), 设置样式的时候,不能自动将数字转化成字符串或追加'px', 也不能自动地添加属性前缀。

data()--绑定或获取数据

detach()--移除DOM元素

empty()

eq()

find()--只能获取元素的标签名

hasClass()

html()

next()---不支持选择器

off()---不支持命名空间,选择器,事件对象

one()---不支持命名空间,选择器

parent()---不支持选择器

prepend()

prop()

ready()

remove()

removeAttr()

removeClass()

removeData()

replaceWith()

text()

toggleClass()

triggerHandler()

unbind()

val()

wrap()

posted @ 2017-03-17 10:56  不正经的CodeMonkey  阅读(436)  评论(0编辑  收藏  举报