Results 21 - 40 of 74

Window.closed

This read-only property indicates whether the referenced window is closed or not.
API HTML DOM NeedsCompatTable NeedsMarkupWork NeedsSpecTable Property Reference Référence Window

Window.confirm()

The Window.confirm() method displays a modal dialog with an optional message and two buttons, OK and Cancel.
API confirm DOM Method NeedsBrowserCompatibility NeedsCompatTable NeedsMobileBrowserCompatibility Reference Window

Window.console

The Window.console read-only property returns a reference to the Console object, which provides methods for logging information to the browser's console. These methods are intended for debugging purposes only and should not be relied on for presenting information to end users.
API console Console Property Read-only Reference Window

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.devicePixelRatio

The Window.devicePixelRatio read-only property returns the ratio of the (vertical) size of one physical pixel on the current display device to the size of one device independent pixels(dips).
API NeedsBrowserCompatibility NeedsExample Property Read-only Reference Référence Window

Window.document

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

Window.frameElement

Returns the element (such as <iframe> or <object>) in which the window is embedded, or null if the element is either top-level or is embedded into a document with a different script origin; that is, in cross-origin situations.
API DOM DOM Reference Gecko Property Reference Window

Window.length

Returns the number of frames (either <frame> or <iframe> elements) in the window.
API DOM DOM Reference Gecko Property Reference Window

Window.minimize()

Sets a window to minimized state (a way to undo it programatically is by calling window.moveTo()).
API DOM Method NeedsBrowserCompatibility NeedsContent NeedsExample Reference Référence Window

Window.oninstall

The oninstall property of the Window interface represent the event handler for the install event, which is thrown each time the page is successfully installed as a web app.
API Event Handler Property Reference web manifest Window

Window.onuserproximity

The Window.onuserproxymity property represents an EventHandler, that is a function to be called when the userproximity event occurs. These events are of type UserProximityEvent and occur when the the device sensor detects that an object becomes nearby.
API Experimental Expérimental NeedsBetterSpecLink Property Proximity Events Reference Référence Window

Window.prompt()

The Window.prompt() displays a dialog with an optional message prompting the user to input some text.
API DOM MakeBrowserAgnostic Method NeedsBrowserCompatibility NeedsCompatTable NeedsMobileBrowserCompatibility prompt Reference Window

Window.screenX

The Window.screenX read-only property returns the horizontal distance, in CSS pixels, of the left border of the user's browser from the left side of the screen.
API CSSOM View Property Read-only Reference Référence Window

Window.screenY

The Window.screenY read-only property returns the vertical distance, in CSS pixels of the top border of the user's browser from the top edge of the screen.
API CSSOM View Property Read-only Reference Référence 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