Results 281 - 300 of 360

Window.crypto

The Window.crypto read-only property returns the Crypto object associated to the global object. This object allows web pages access to certain cryptographic related services.
API HTML DOM NeedsCompatTable NeedsExample Property Reference Window

Window.document

Returns a reference to the document contained in the window.
API HTML DOM NeedsCompatTable NeedsMarkupWork NeedsSpecTable Property Reference Window

Window.self

The Window.self read-only property returns the window itself, as a WindowProxy. It can be used with dot notation on a window object (that is, window.self) or standalone (self). The advantage of the standalone notation is that a similar notation exists for non-window contexts, such as in Web Workers. By using self, you can refer to the global scope in a way that will work not only in a window context (self will resolve to window.self) but also in a worker context (self will then resolve to WorkerGlobalScope.self).
API HTML DOM Property Read-only Reference Window

WindowTimers

WindowTimers is a mixin used to provide utility methods which set and clear timers. No objects of this type exist; instead, its methods are available on Window for the standard browsing scope, or on WorkerGlobalScope for workers.
API HTML DOM Interface Intervals Mixin Reference Timers Workers

WindowTimers.clearInterval()

Cancels a timed, repeating action which was previously established by a call to setInterval().
API clearInterval HTML DOM JavaScript timers Method Reference WindowTimers

WorkerNavigator

The WorkerNavigator interface represents a subset of the Navigator interface allowed to be accessed from a Worker. Such an object is initialized for each worker and is available via the WorkerGlobalScope.navigator property obtained by calling window.self.navigator.
API HTML DOM Interface Reference Web Workers WorkerNavigator Workers

DataTransferItem

The DataTransferItem object represents one drag data item. During a drag operation, each drag event has a dataTransfer property which contains a list of drag data items. Each item in the list is a DataTransferItem object.
API DataTransferItem drag and drop HTML DOM HTML Drag and Drop API Interface Reference

DataTransferItem.getAsFile()

If the item is a file, the DataTransferItem.getAsFile() method returns the drag data item's File object. If the item is not a file, this method returns null.
API DataTransferItem drag and drop HTML DOM HTML Drag and Drop API Method Reference

DataTransferItem.getAsString()

The DataTransferItem.getAsString() method invokes the given callback with the drag data item's string data as the argument if the item's kind is a Plain unicode string (i.e. kind is string).
API DataTransferItem drag and drop getAsString HTML DOM HTML Drag and Drop API Method Reference

DataTransferItem.kind

The read-only DataTransferItem.kind property returns a DataTransferItem representing the drag data item kind: some text or some file.
API DataTransferItem drag and drop HTML DOM HTML Drag and Drop API kind Property Reference

DataTransferItem.type

The read-only DataTransferItem.type property returns the type (format) of the DataTransferItem object representing the drag data item. The type is a Unicode string generally given by a MIME type, although a MIME type is not required.
API DataTransferItem drag and drop HTML DOM HTML Drag and Drop API Property Reference Type

DataTransferItemList

The DataTransferItemList object is a list of DataTransferItem objects representing items being dragged. During a drag operation, each DragEvent has a dataTransfer property and that property is a DataTransferItemList.
API DataTransferItemList drag and drop HTML DOM HTML Drag and Drop API Interface Reference

DataTransferItemList.add()

The DataTransferItemList.add() method creates a new DataTransferItem using the specified data and adds it to the drag data list. The item may be a File or a string of a given type. If the item is successfully added to the list, the newly-created DataTransferItem object is returned.
Add API DataTransferItemList drag and drop HTML DOM HTML Drag and Drop API Method NeedsLiveSample Reference

DataTransferItemList.clear()

The DataTransferItemList.clear() method removes all DataTransferItem objects from the drag data items list, leaving the list empty.
API clear DataTransferItemList drag and drop HTML DOM HTML Drag and Drop API Method NeedsLiveSample Reference

DataTransferItemList.DataTransferItem()

The DataTransferItemList() getter method implements support for accessing items in the DataTransferItemList using array-style syntax (that is DataTransferItemList[index]).
API DataTransferItemList drag and drop Getter HTML DOM HTML Drag and Drop API Method NeedsLiveSample Reference

DataTransferItemList.length

The read-only DataTransferItemList.length property returns the number of items in the list. If the list has no items, or is disabled (because it has no data store at all), this property returns zero.
API DataTransferItemList drag and drop HTML DOM HTML Drag and Drop API length NeedsLiveSample Property Reference

DataTransferItemList.remove()

The DataTransferItemList.remove() method removes the DataTransferItem at the specified index from the list. If the index is less than zero or greater than one less than the length of the list, the list will not be changed.
API DataTransferItemList drag and drop HTML DOM HTML Drag and Drop API Method NeedsLiveSample Reference remove

Document.designMode

document.designMode controls whether the entire document is editable. Valid values are "on" and "off". According to the specification, this property is meant to default to "off". Firefox follows this standard. The earlier versions of Chrome and IE default to "inherit". Starting in Chrome 43, the default is "off" and "inherit" is no longer supported. In IE6-10, the value is capitalized. 
API Document editor HTML DOM NeedsBrowserCompatibility NeedsContent NeedsSpecTable Property Reference Référence