awa.dom Class
Module: awa
Item Index
Methods
Methods
body
(
jQuery.collection
-
context
Select the body element
Parameters:
-
contextHTMLDocumentOptional document context, defaults to window.document
Returns:
jQuery.collection:
???
find
(
jQuery.collection
deprecated
-
selector -
context
Parameters:
-
selectorStringA valid CSS selector expression
-
contextHTMLDocumentOptional document context, defaults to window.document
Returns:
jQuery.collection:
???
getDocumentBody
()
HTMLElement
Returns the native document element
Returns:
HTMLElement:
Body element
getWindowHeight
()
Integer
Return the window's visible (inner) height
Returns:
Integer:
Window height
getWindowScrollLeft
()
Integer
Return the window's visible (inner) height
Returns:
Integer:
Scroll left position
getWindowScrollTop
()
Integer
Return the window's scroll top position
Returns:
Integer:
Scroll top position
getWindowWidth
()
Integer
Return the window's visible (inner) width
Returns:
Integer:
Window width
ready
(
Undefined
-
callback
Specify a function to execute when the DOM is fully loaded
Parameters:
-
callbackFunctionA function to execute after the DOM is ready
Returns:
Undefined: