Anda di halaman 1dari 1

Mootools (revision 83) http://mootools.

net/
Array.js Element.js Dom.js Fx.js Fxpack.js Json.js
Array Element Element Fx.Base Fx.Scroll(el, options) Json
forEach(fn, bind o) intialize(tagname s) getElements(selector) options = { down() toString(json o)
each = forEach injectBefore(el) getElement(selector) onStart: fn, up() evaluate(s)
copy() injectAfter(el) getElementsBySelector(s) onComplete: fn,
remove(s) injectInside(el) transition: Fx.Transition, Fx.Slide(el, options) Tips.js
adopt(el) Elements duration: (500) ms, options = { Tips(els, options)
test(s)
remove() action({event:fn, ...}) unit: (‘px’)||’em’||’%’, mode: (‘vertical’)||’horizontal’
extend(a) options = {
clone() wait: (true)||false, }
associate([ ]) Utility Functions transitionStart: Fx.Transitions,
replaceWith(el) $S(selector s, s, ...) fps: (30) n hide() transitionEnd: Fx.Transitions,
Utility Functions appendText(s) $$() = $S } show() maxTitleChars: (30) n,
$A(a) = Array.copy hasClass(s) set(to n) toggle() fxDuration: (150) ms,
$E(selector s, el)
addClass(s) #ES(selector s, el) custom(from n, to n) Fx.Color(el, options) maxOpacity: (1) n,
Function.js removeClass(s) document clearTimer() timeOut: (100) ms,
custom(fromHex s, toHex s)
Function toggleClass(s) .getElementsByClassName(s) fromColor(hex s) className: s
pass([args,...], bind o) setStyle(property, value) Fx.Style(el, property, options) }
bind(o) hide() toColor(hex s)
setStyles({prop:value,..}||s)
bindAsEventListener(o) Drag.js goTo(n)
delay(ms, bind o)
setOpacity(n)
Drag.Base(el, xM, yM, options) Fxutils.js Window.js
getStyle(property) Fx.Styles(el, options) Fx.Height, Fx.Width,
periodical(ms, bind o) addEvent(event, f) options = { Window
custom({prop:[start, end],...}) Fx.Opacity(el, options) disableImageCache()
removeEvent(event, f) handle: el,
Utility Functions getPrevious() onStart: fn, Element toggle() getWidth()
$clear(timer) onComplete: fn, effect() = Fx.Style show() getHeight()
getFirst()
$type(o) onDrag: fn, effects() = Fx.Styles getScrollHeight()
getNext() Fxtransitions.js
getLast() xMax:n, xMin:n, getScrollWidth()
Chain Fx.Transitions Fx.Transitions getScrollTop()
chain(fn) setProperty(prop, value) yMax:n, yMin:n linear, sineInOut
} linear, quadIn, quadOut, getScrollLeft()
callChain() setProperties({prop:val,...})
quadInOut, cubicIn, cubicOut, onDomReady(fn)
clearChain() setHTML(html) Drag.Move(el, options) Ajax.js cubicInOut, quartIn, quartOut,
getProperty(property)
String.js options = { Ajax(url, options) quartInOut, quintIn, quinOut,
getTag() snap: (true)||false, quintInOut, sineIn, sineOut,
Accordion.js
String getTop() options = { Fx.Elements(el, options)
snapDistance: (8) n, method: (‘post’)||’get’, sineInOut, expoIn, expoOut,
test(pattern s, params s) getLeft() onSnap: fn, custom({
postBody: s || o || Form el expoInOut, circIn, circOut,
toInt() getValue() xMod: (left) prop, ’0’:{’prop’:[start, end],...},
yMod: (top) prop, async:(true)||false, circInOut, elasticIn, elasticOut,
camelCase() ’1’:{’prop’:[start,end],...},
Utility Functions container: true||(false) onComplete:fn, elasticInOut, backIn, backOut,
capitalize() ... })
$Element(el, method s, args) } onStateChange:fn, backInOut, bounceIn,
trim()
$(el|s) update: el, bounceOut, bounceInOut Fx.Accordion(els,
clean() Element
rgbToHex(returnArray b) evalScripts: true||(false) togglers els, options)
makeDraggable(options) } Sortables.js
hexToRgb(returnArray b) options = {
Moo.js makeResizable(options) request() Sortables(els, options) start: (‘open-first’)||’first-open’,
Number Class getPosition() evalScripts() options = { fixedHeight: (false) n,
toInt() empty() handles: els,
Object fixedWidth: (false) n,
create(o) fxDuration: (250) ms,
toQueryString() alwaysHide: true||(false),
extend(o) fxTransition: Fx.Transitions, wait: true||(false),
implement(o) Element maxOpacity: n, onActive: fn,
send() onStart: fn,
Object (singleton) toQueryString()
onBackground: fn,
extend(base o, other o) onComplete: fn, height: (true)||false,
Native(o) contain: (true)||false opacity: (true)||false,
} width: true||(false)
}
Cookie.js showThisHideOpen(index n)
Cookie
set(key s, value, days n)
get(key s)
remove(key s)

Anda mungkin juga menyukai