readme
来自「国外很不错的一个开源OA系统Group-Office」· 代码 · 共 67 行
TXT
67 行
Dom Release Notes*** version .12.0 **** fixed getXY for IE null parent* branching set/getStyle at load time instead of run time *** version 0.11.3 **** fixed getX and getY returning incorrect values for collections * fixed getXY incorrectly calculated for Opera inline elements* fixed isAncestor failure in safari when 2nd arg is document.documentElement* fixed infinite loop in replaceClass when oldClassName == newClassName * getDocumentWidth no longer includes scrollbars *** version 0.11.2 **** limit depth of parent.document crawl to 1 for getXY* test offsetParent instead of parentNode for getXY* return null if no el fo r get* just addClass if no class to replace for replaceClass*** version 0.11.1 **** return null if el is null for get()* test offsetParent rather than parentNode for getXY()* limit depth of parent.document crawl for IE getXY() to 1* if no oldClassName to replace, just addClass for replaceClass()*** version 0.11.0 **** Work around Opera 9 broken currentStyle* Removed timeout wrapper from setXY retry* Tagname tests now case-insensitive* Internal "this" references changed to allow for method shorthand* get/setStyle now accept both camel and hyphen case* Gecko reverted to crawling offsets for getXY *** version 0.10.0 **** Safari now fails gracefully when querying computedStyle of an unavailable element * Class management functions added (hasClass, addClass, removeClass, replaceClass, getElementsByClassName) * All methods that accept HTMLElements or IDs now also accept arrays of HTMLElements and/or IDs* GenerateId method added* isAncestor method added* inDocument method added* getElementsBy method added* batch method added* getClientHeight/Width deprecated in favor of getViewportHeight/Width* getDocumentHeight/Width methods added *** version 0.9.0 **** Initial release
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?