Module stdweb::web [] [src]

A module with bindings to the Web APIs.

Modules

error

A module containing error types.

event

A module containing JavaScript DOM events.

html_element

A module containing HTML DOM elements.

Structs

ArrayBuffer

The ArrayBuffer object is used to represent a generic, fixed-length raw binary data buffer. You cannot directly manipulate the contents of an ArrayBuffer; instead, you create an TypedArray to do it.

Date

(JavaScript docs)

Document

The Document interface represents any web page loaded in the browser and serves as an entry point into the web page's content, which is the DOM tree.

Element

A reference to a JavaScript object which implements the IElement interface.

EventListenerHandle

A handle to a particular event listener.

EventTarget

A reference to a JavaScript object which implements the IEventTarget interface.

HtmlElement

A reference to a JavaScript object which implements the IHtmlElement interface.

Location

The Location interface represents the location (URL) of the object it is linked to. Changes done on it are reflected on the object it relates to. Both the Document and Window interface have such a linked Location, accessible via Document::location and Window::location respectively.

Node

A reference to a JavaScript object which implements the INode interface.

NodeList

NodeList objects are collections of nodes such as those returned by properties such as INode::child_nodes and the Document::query_selector_all method.

Storage

The Storage interface of the Web Storage API provides access to the session storage or local storage for a particular domain.

StringMap

Used by the dataset HTML attribute to represent data for custom attributes added to elements.

TokenList

The TokenList represents a set of space-separated tokens.

TypedArray

JavaScript typed arrays are array-like objects and provide a mechanism for accessing raw binary data.

Window

The Window object represents a window containing a DOM document.

Enums

CloneKind

An enum which determines whenever the DOM Node's children will also be cloned or not.

CrossOriginSetting

Represents CORS (Cross Origin Resource Sharing) setting for an HTML element.

Traits

IElement

The IElement interface represents an object of a Document. This interface describes methods and properties common to all kinds of elements.

IEventTarget

IEventTarget is an interface implemented by objects that can receive events and may have listeners for them.

IHtmlElement

The IHtmlElement interface represents any HTML element.

INode

INode is an interface from which a number of DOM API object types inherit.

IWindowOrWorker

The IWindowOrWorker mixin describes several features common to the Window and the global scope of web workers.

Functions

alert

An alias for window.alert.

document

A global instance of Document.

set_timeout

An alias for window.set_timeout.

window

A global instance of Window.