一级日韩免费大片,亚洲一区二区三区高清,性欧美乱妇高清come,久久婷婷国产麻豆91天堂,亚洲av无码a片在线观看

prototype Element學(xué)習筆記

時(shí)間:2020-09-25 17:03:42 讀書(shū)筆記 我要投稿

prototype Element學(xué)習筆記

  一、篩選類(lèi)函數

prototype Element學(xué)習筆記

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

  二、增、刪、改元素類(lèi)函數

  、update、remove、replace、wrap、cleanWhitespace

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

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

  四、樣式處理類(lèi)函數

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

  五、位置處理類(lèi)函數

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

  六、幾個(gè)返回布爾型的函數

  empty、descendantOf、visible

  七、事件管理類(lèi)

  fire、observe、stopObserving

  八、static函數

  extend

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

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

Prototype如何更新局部頁(yè)面01-16

Prototype如何實(shí)現頁(yè)面局部定時(shí)刷新01-16

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

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

JAVA學(xué)習筆記08-29

Java學(xué)習筆記08-13

JavaScript學(xué)習筆記11-13

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

JavaScript ,事件學(xué)習筆記11-11

JavaScript內置對象學(xué)習筆記11-11

一级日韩免费大片,亚洲一区二区三区高清,性欧美乱妇高清come,久久婷婷国产麻豆91天堂,亚洲av无码a片在线观看