mootools 1.2核心扩展(转载)

littcai 2008-12-16
  • 相对上一个版本window[bodyload],新增加的成员有66个包括: getLeft,getTop,getScrollWidth,getScrollHeight,getScrollLeft,getScrollTop,getWidth,
    getHeight,getCoordinates,getPosition,getScrollSize,getScroll,getSize,cloneEvents,
    fireEvent,removeEvents,addEvents,removeEvent,addEvent,eliminate,store,retrieve,
    removeListener,addListener,getWindow,getDocument,$$,$,$family,uid,Request,Fx,Swiff,Cookie,JSON,Selectors,Elements,IFrame,Options,Events,
    Chain,Class,$uid,$exec,Browser,$each,$A,$H,Hash,$type,$try,$time,$splat,$random,
    $pick,$merge,$unlink,$extend,$lambda,$arguments,$empty,$defined,$clear,$chk,Native,
    MooTools,
  • 相对上一个版本String[bodyload],新增加的成员有16个包括: $family,test,contains,trim,clean,camelCase,hyphenate,capitalize,escapeRegExp,toInt,
    toFloat,hexToRgb,rgbToHex,stripScripts,substitute,toJSON
  • 相对上一个版本Array[bodyload],新增加的成员有17个包括: $family,each,clean,associate,link,contains,extend,getLast,getRandom,include,combine,
    erase,empty,flatten,hexToRgb,rgbToHex,toJSON 相对上一个版本Date[bodyload],
  • 相对上一个版本Number[bodyload],新增加的成员有24个包括: $family,limit,round,times,toFloat,toInt,each,abs,acos,asin,atan,atan2,ceil,cos,exp,
    floor,log,max,min,pow,sin,sqrt,tan,toJSON
  • 相对上一个版本Function[bodyload],新增加的成员有10个包括:
    $family,extend,create,pass,attempt,bind,bindWithEvent,delay,periodical,run
  • 相对上一个版本Element[bodyload],新增加的成员有95个包括: $family,getElement,getElements,injectBefore,grabBefore,injectAfter,grabAfter,injectBottom,
    grabBottom,injectTop,grabTop,injectInside,grabInside,getDocument,getWindow,getElementById,
    set,get,erase,match,inject,wraps,grab,appendText,adopt,dispose,clone,replaces,hasClass,
    addClass,removeClass,toggleClass,getComputedStyle,empty,destroy,getSelected,toQueryString,
    getProperty,getProperties,setProperty,setProperties,removeProperty,removeProperties,
    getPrevious,getAllPrevious,getNext,getAllNext,getFirst,getLast,getParent,getParents,
    getChildren,hasChild,addListener,removeListener,retrieve,store,eliminate,addEvent,
    removeEvent,addEvents,removeEvents,fireEvent,cloneEvents,setOpacity,getOpacity,setStyle,
    getStyle,setStyles,getStyles,scrollTo,getSize,getScrollSize,getScroll,getScrolls,
    getOffsetParent,getOffsets,getPosition,getCoordinates,computePosition,position,getHeight,
    getWidth,getScrollTop,getScrollLeft,getScrollHeight,getScrollWidth,getTop,getLeft,tween,
    fade,highlight,morph,send,load
  • 相对上一个版本document[bodyload],新增加的成员有36个包括:
    uid,head,html,window,$family,newElement,newTextNode,getDocument,getWindow,purge,getElement,getElements,
    addListener,removeListener,retrieve,store,eliminate,addEvent,removeEvent,addEvents,removeEvents,
    fireEvent,cloneEvents,getSize,getScroll,getScrollSize,getPosition,getCoordinates,getHeight,getWidth,
    getScrollTop,getScrollLeft,getScrollHeight,getScrollWidth,getTop,getLeft
Global site tag (gtag.js) - Google Analytics