prototype Element學習筆記

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

    prototype Element學習筆記

      一、篩選類函數

    prototype Element學習筆記

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

      二、增、刪、改元素類函數

      、update、remove、replace、wrap、cleanWhitespace

      三、設置元素各種屬性類函數

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

      四、樣式處理類函數

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

      五、位置處理類函數

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

      六、幾個返回布爾型的函數

      empty、descendantOf、visible

      七、事件管理類

      fire、observe、stopObserving

      八、static函數

      extend

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

    【prototype Element學習筆記】相關文章:

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

    Prototype如何實現頁面局部定時刷新01-16

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

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

    JAVA學習筆記08-29

    Java學習筆記08-13

    JavaScript學習筆記11-13

    關于javascript學習筆記11-16

    JavaScript ,事件學習筆記11-11

    JavaScript內置對象學習筆記11-11

    91久久大香伊蕉在人线_国产综合色产在线观看_欧美亚洲人成网站在线观看_亚洲第一无码精品立川理惠

      色影音先锋国产资源 | 亚洲一区二区少妇 | 一本久久a精品一区二区 | 亚洲国产中文字幕在线视频综合 | 精品久久综合婷婷网 | 亚洲日本欧美日韩髙清观看 |