欢迎来到代码驿站!

当前位置:首页 >

prototype Element学习笔记(Element篇三)

时间:2021-08-24 08:47:32|栏目:|点击:
一、筛选类函数

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

  二、增、删、改元素类函数

  insert、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

  基本上就是这么几类了。不过,关于位置类函数,只有取,没有设置的,功能不完善啊。这里面的查找类函数的用法文档中也没有尽言,关键是怎么写选择符

上一篇:Window7安装MariaDB数据库及系统初始化操作分析

栏    目:

下一篇:docker 容器上编译 go 程序提示找不到文件问题

本文标题:prototype Element学习笔记(Element篇三)

本文地址:http://www.codeinn.net/misctech/169524.html

推荐教程

广告投放 | 联系我们 | 版权申明

重要申明:本站所有的文章、图片、评论等,均由网友发表或上传并维护或收集自网络,属个人行为,与本站立场无关。

如果侵犯了您的权利,请与我们联系,我们将在24小时内进行处理、任何非本站因素导致的法律后果,本站均不负任何责任。

联系QQ:914707363 | 邮箱:codeinn#126.com(#换成@)

Copyright © 2020 代码驿站 版权所有