prototype Element学习笔记(Element篇三)
(编辑:jimmy 日期: 2026/1/24 浏览:2)
一、筛选类函数
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
基本上就是这么几类了。不过,关于位置类函数,只有取,没有设置的,功能不完善啊。这里面的查找类函数的用法文档中也没有尽言,关键是怎么写选择符
几个月来,英特尔、微软、AMD和其它厂商都在共同推动“AI PC”的想法,朝着更多的AI功能迈进。在近日,英特尔在台北举行的开发者活动中,也宣布了关于AI PC加速计划、新的PC开发者计划和独立硬件供应商计划。
在此次发布会上,英特尔还发布了全新的全新的酷睿Ultra Meteor Lake NUC开发套件,以及联合微软等合作伙伴联合定义“AI PC”的定义标准。