NavigationLibrariesdoctype [?][strict] [loose] [none] |
Util, DOM, CSS, Event Functions |
|
Note: Expanded documentation will be available soon The Util package consists of several global functions and a number of classes with static methods. Global FunctionsisArray (object) : booleanisObject (object) : booleandefined (val) : booleanmap (function, object*) : ArraysetDefaultValues (objectToChange, objectDefaultValues) : ObjectDOM MethodsDOM.getParentByTagName (HTMLElement, stringTagName) : HTMLElementDOM.removeNode (HTMLElement) : booleanDOM.getOuterWidth (HTMLElement) : intDOM.getOuterHeight (HTMLElement) : intDOM.resolve (*) : *CSS MethodsCSS.rgb2hex (stringRGB) : stringCSS.hyphen2camel (stringProperty) : stringCSS.hasClass ([string|HTMLElement], stringClassName) : booleanCSS.addClass (HTMLElement, stringClassName) : booleanCSS.removeClass (HTMLElement, stringClassName) : booleanCSS.replaceClass (HTMLElement, stringOldClassName, stringNewClassName) : booleanCSS.getStyle (HTMLElement, property-name) : string ( alias: CSS.get() )CSS.setStyle (HTMLElement, property-name, value) : boolean ( alias: CSS.set() )CSS.createId ([HTMLElement]) : stringEvent MethodsEvent.resolve (EventObject) : EventObjectEvent.add (HTMLElement, stringEventType, function, booleanCapture) : booleanEvent.getMouseX (EventObject) : intEvent.getMouseY (EventObject) : intEvent.cancelBubble (EventObject) ( alias: Event.stopPropagation() )Screen MethodsScreen.getBody() : HTMLBodyElementScreen.getScrollTop() : intScreen.getScrollLeft() : intScreen.getDocumentWidth() : intScreen.getDocumentHeight() : intScreen.getViewportWidth() : intScreen.getViewportHeight() : intSort MethodsSort.AlphaNumericSort.NumericSort.IgnoreCaseSort.CurrencySort.Date |
||
All Contents Copyright © Matt Kruse |
||