牛牛热在线免费视频|日韩精品亚洲一区91网站在线播放|五月婷婷播放视频|夜色在线视频网站|午夜影院欧美色图|久草免费资源视频|一级毛皮麻豆精品|亚洲黄精品aaa|九九成人影视网站|五月视频久久精品

prototype Element學習筆記

時間:2020-09-25 17:03:42 讀書筆記 我要投稿

prototype Element學習筆記

  一、篩選類函數(shù)

prototype Element學習筆記

  ancestors、recursivelyCollect、descendants、firstDescendant、immediateDescendants、previousSiblings、nextSiblings、siblings、match、up、down、previous、next、select、adjacent。

  二、增、刪、改元素類函數(shù)

  、update、remove、replace、wrap、cleanWhitespace

  三、設(shè)置元素各種屬性類函數(shù)

  visible、toggle、hidde、show、identify、readAttribute、writeAttribute、makeClipping、undoClipping

  四、樣式處理類函數(shù)

  classNames、hasClassName、addClassName、removeClassName、toggleClassName、getStyle、setStyle、getOpacity、setOpacity。

  五、位置處理類函數(shù)

  getHeight、getWidth、scrollTo、getDimensions、makePositioned、undoPositioned、cumulativeOffset、positionedOffset、absolutize、relativize、cumulativeScrollOffset、getOffsetParent、viewportOffset、clonePosition。

  六、幾個返回布爾型的函數(shù)

  empty、descendantOf、visible

  七、事件管理類

  fire、observe、stopObserving

  八、static函數(shù)

  extend

  基本上就是這么幾類了。不過,關(guān)于位置類函數(shù),只有取,沒有設(shè)置的,功能不完善啊。這里面的查找類函數(shù)的用法文檔中也沒有盡言,關(guān)鍵是怎么寫選擇符

【prototype Element學習筆記】相關(guān)文章:

Prototype如何更新局部頁面01-16

Prototype如何實現(xiàn)頁面局部定時刷新01-16

JavaScript中的原型鏈prototype詳解11-18

有關(guān)JavaScript中的prototype.bind()方法介紹11-17

JAVA學習筆記08-29

Java學習筆記08-13

JavaScript學習筆記11-13

關(guān)于javascript學習筆記11-16

JavaScript ,事件學習筆記11-11

JavaScript內(nèi)置對象學習筆記11-11