国产视频最新网址|这里只有精品中文字幕情侣酒店|精品成人一区二区|91久久蜜桃网站|AV成人电影五区|欧美精品在线一区|秋霞午夜一区日韩|国产午夜成人免费看片不卡|98精品美女视频日韩一区精品视频|亚洲综合久久国产不卡日本岛国久久

prototype Element學(xué)習(xí)筆記

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

prototype Element學(xué)習(xí)筆記

  一、篩選類函數(shù)

prototype Element學(xué)習(xí)筆記

  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學(xué)習(xí)筆記】相關(guān)文章:

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

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

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

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

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

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

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

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

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

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