APIs

Show:

Methods

body

(
  • context
)
jQuery.collection

Select the body element

Parameters:

  • context HTMLDocument

    Optional document context, defaults to window.document

Returns:

jQuery.collection:

???

find

(
  • selector
  • context
)
jQuery.collection deprecated

Parameters:

  • selector String

    A valid CSS selector expression

  • context HTMLDocument

    Optional 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

(
  • callback
)
Undefined

Specify a function to execute when the DOM is fully loaded

Parameters:

  • callback Function

    A function to execute after the DOM is ready

Returns:

Undefined: