namespace document

View source on GitHub →

Description

Prototype extends the built-in document object with several convenience methods related to events.

Namespaces

  • document.viewport

    The document.viewport namespace contains methods that return information about the viewport — the rectangle that represents the portion of a web page within view. In other words, it's the browser window minus all chrome.

Class methods

Class properties

Instance methods