org.scalajs

dom

package dom

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. dom
  2. GlobalScope
  3. Window
  4. WindowConsole
  5. IDBEnvironment
  6. WindowBase64
  7. WindowTimers
  8. WindowTimersExtension
  9. WindowSessionStorage
  10. WindowLocalStorage
  11. EventTarget
  12. Object
  13. Any
  14. AnyRef
  15. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. type AbstractWorker = dom.raw.AbstractWorker

  2. type AnalyserNode = dom.raw.AnalyserNode

  3. type AnimationEvent = dom.raw.AnimationEvent

  4. type ApplicationCache = dom.raw.ApplicationCache

  5. type Attr = dom.raw.Attr

  6. type AudioBuffer = dom.raw.AudioBuffer

  7. type AudioBufferSourceNode = dom.raw.AudioBufferSourceNode

  8. type AudioContext = dom.raw.AudioContext

  9. type AudioDestinationNode = dom.raw.AudioDestinationNode

  10. type AudioListener = dom.raw.AudioListener

  11. type AudioNode = dom.raw.AudioNode

  12. type AudioParam = dom.raw.AudioParam

  13. type AudioTrack = dom.raw.AudioTrack

  14. type AudioTrackList = dom.raw.AudioTrackList

  15. type BeforeUnloadEvent = dom.raw.BeforeUnloadEvent

  16. type BiquadFilterNode = dom.raw.BiquadFilterNode

  17. type Blob = dom.raw.Blob

  18. type BlobPropertyBag = dom.raw.BlobPropertyBag

  19. type CDATASection = dom.raw.CDATASection

  20. type CanvasGradient = dom.raw.CanvasGradient

  21. type CanvasPattern = dom.raw.CanvasPattern

  22. type CanvasRenderingContext2D = dom.raw.CanvasRenderingContext2D

  23. type ChannelMergerNode = dom.raw.ChannelMergerNode

  24. type ChannelSplitterNode = dom.raw.ChannelSplitterNode

  25. type CharacterData = dom.raw.CharacterData

  26. type ClientRect = dom.raw.ClientRect

  27. type ClientRectList = dom.raw.ClientRectList

  28. type ClipboardEvent = dom.raw.ClipboardEvent

  29. type CloseEvent = dom.raw.CloseEvent

  30. type Comment = dom.raw.Comment

  31. type CompositionEvent = dom.raw.CompositionEvent

  32. type Console = dom.raw.Console

  33. type ConvolverNode = dom.raw.ConvolverNode

  34. type Coordinates = dom.raw.Coordinates

  35. type CustomEvent = dom.raw.CustomEvent

  36. type DOMError = dom.raw.DOMError

  37. type DOMException = dom.raw.DOMException

  38. type DOMImplementation = dom.raw.DOMImplementation

  39. type DOMList[T] = dom.raw.DOMList[T]

  40. type DOMParser = dom.raw.DOMParser

  41. type DOMSettableTokenList = dom.raw.DOMSettableTokenList

  42. type DOMStringList = dom.raw.DOMStringList

  43. type DOMTokenList = dom.raw.DOMTokenList

  44. type DataTransfer = dom.raw.DataTransfer

  45. type DelayNode = dom.raw.DelayNode

  46. type Document = dom.raw.Document

  47. type DocumentEvent = dom.raw.DocumentEvent

  48. type DocumentFragment = dom.raw.DocumentFragment

  49. type DocumentType = dom.raw.DocumentType

  50. type DragEvent = dom.raw.DragEvent

  51. type DynamicsCompressorNode = dom.raw.DynamicsCompressorNode

  52. type Element = dom.raw.Element

  53. type ErrorEvent = dom.raw.ErrorEvent

  54. type Event = dom.raw.Event

  55. type EventException = dom.raw.EventException

  56. type EventSource = dom.raw.EventSource

  57. type EventTarget = dom.raw.EventTarget

  58. type External = dom.raw.External

  59. type File = dom.raw.File

  60. type FileList = dom.raw.FileList

  61. type FileReader = dom.raw.FileReader

  62. type FocusEvent = dom.raw.FocusEvent

  63. type FormData = dom.raw.FormData

  64. type GainNode = dom.raw.GainNode

  65. type Geolocation = dom.raw.Geolocation

  66. type HashChangeEvent = dom.raw.HashChangeEvent

  67. type History = dom.raw.History

  68. type ImageData = dom.raw.ImageData

  69. type KeyboardEvent = dom.raw.KeyboardEvent

  70. type LinkStyle = dom.raw.LinkStyle

  71. type Location = dom.raw.Location

  72. type MediaElementAudioSourceNode = dom.raw.MediaElementAudioSourceNode

  73. type MediaError = dom.raw.MediaError

  74. type MediaList = dom.raw.MediaList

  75. type MediaQueryList = dom.raw.MediaQueryList

  76. type MediaQueryListListener = dom.raw.MediaQueryListListener

  77. type MediaStream = dom.raw.MediaStream

  78. type MediaStreamAudioDestinationNode = dom.raw.MediaStreamAudioDestinationNode

  79. type MediaStreamAudioSourceNode = dom.raw.MediaStreamAudioSourceNode

  80. type MessageChannel = dom.raw.MessageChannel

  81. type MessageEvent = dom.raw.MessageEvent

  82. type MessagePort = dom.raw.MessagePort

  83. type ModifierKeyEvent = dom.raw.ModifierKeyEvent

  84. type MouseEvent = dom.raw.MouseEvent

  85. type MutationEvent = dom.raw.MutationEvent

  86. type MutationObserver = dom.raw.MutationObserver

  87. type MutationObserverInit = dom.raw.MutationObserverInit

  88. type MutationRecord = dom.raw.MutationRecord

  89. type NamedNodeMap = dom.raw.NamedNodeMap

  90. type Navigator = dom.raw.Navigator

  91. type NavigatorContentUtils = dom.raw.NavigatorContentUtils

  92. type NavigatorGeolocation = dom.raw.NavigatorGeolocation

  93. type NavigatorID = dom.raw.NavigatorID

  94. type NavigatorOnLine = dom.raw.NavigatorOnLine

  95. type NavigatorStorageUtils = dom.raw.NavigatorStorageUtils

  96. type Node = dom.raw.Node

  97. type NodeFilter = dom.raw.NodeFilter

  98. type NodeIterator = dom.raw.NodeIterator

  99. type NodeList = dom.raw.NodeList

  100. type NodeListOf[TNode <: Node] = dom.raw.NodeListOf[TNode]

  101. type NodeSelector = dom.raw.NodeSelector

  102. type ObjectURLOptions = dom.raw.ObjectURLOptions

  103. type OfflineAudioContext = dom.raw.OfflineAudioContext

  104. type OscillatorNode = dom.raw.OscillatorNode

  105. type PannerNode = dom.raw.PannerNode

  106. type ParentNode = dom.raw.ParentNode

  107. type Performance = dom.raw.Performance

  108. type PerformanceEntry = dom.raw.PerformanceEntry

  109. type PerformanceMark = dom.raw.PerformanceMark

  110. type PerformanceMeasure = dom.raw.PerformanceMeasure

  111. type PerformanceNavigation = dom.raw.PerformanceNavigation

  112. type PerformanceResourceTiming = dom.raw.PerformanceResourceTiming

  113. type PerformanceTiming = dom.raw.PerformanceTiming

  114. type PeriodicWave = dom.raw.PeriodicWave

  115. type PopStateEvent = dom.raw.PopStateEvent

  116. type Position = dom.raw.Position

  117. type PositionError = dom.raw.PositionError

  118. type PositionOptions = dom.raw.PositionOptions

  119. type ProcessingInstruction = dom.raw.ProcessingInstruction

  120. type ProgressEvent = dom.raw.ProgressEvent

  121. type Range = dom.raw.Range

  122. type Screen = dom.raw.Screen

  123. type Selection = dom.raw.Selection

  124. type StereoPannerNode = dom.raw.StereoPannerNode

  125. type Storage = dom.raw.Storage

  126. type StorageEvent = dom.raw.StorageEvent

  127. type StyleMedia = dom.raw.StyleMedia

  128. type StyleSheet = dom.raw.StyleSheet

  129. type StyleSheetList = dom.raw.StyleSheetList

  130. type Text = dom.raw.Text

  131. type TextEvent = dom.raw.TextEvent

  132. type TextMetrics = dom.raw.TextMetrics

  133. type TextTrack = dom.raw.TextTrack

  134. type TextTrackCue = dom.raw.TextTrackCue

  135. type TextTrackCueList = dom.raw.TextTrackCueList

  136. type TextTrackList = dom.raw.TextTrackList

  137. type TimeRanges = dom.raw.TimeRanges

  138. type Touch = dom.raw.Touch

  139. type TouchEvent = dom.raw.TouchEvent

  140. type TouchList = dom.raw.TouchList

  141. type TrackEvent = dom.raw.TrackEvent

  142. type TransitionEvent = dom.raw.TransitionEvent

  143. type TreeWalker = dom.raw.TreeWalker

  144. type UIEvent = dom.raw.UIEvent

  145. type URL = dom.raw.URL

  146. type ValidityState = dom.raw.ValidityState

  147. type WaveShaperNode = dom.raw.WaveShaperNode

  148. type WebSocket = dom.raw.WebSocket

  149. type WheelEvent = dom.raw.WheelEvent

  150. type Window = dom.raw.Window

  151. type WindowBase64 = dom.raw.WindowBase64

  152. type WindowConsole = dom.raw.WindowConsole

  153. type WindowLocalStorage = dom.raw.WindowLocalStorage

  154. type WindowSessionStorage = dom.raw.WindowSessionStorage

  155. type WindowTimers = dom.raw.WindowTimers

  156. type WindowTimersExtension = dom.raw.WindowTimersExtension

  157. type Worker = dom.raw.Worker

  158. type XMLHttpRequest = dom.raw.XMLHttpRequest

  159. type XMLHttpRequestEventTarget = dom.raw.XMLHttpRequestEventTarget

  160. type XMLSerializer = dom.raw.XMLSerializer

  161. type XPathNSResolver = dom.raw.XPathNSResolver

  162. type XPathResult = dom.raw.XPathResult

  163. type OfflineAudioCompletionEvent = dom.raw.OfflineAudioCompletionEvent

    Annotations
    @deprecated
    Deprecated

    (Since version forever) Use the promise version of OfflineAudioContext.startRendering instead.

Value Members

  1. val ApplicationCache: dom.raw.ApplicationCache.type

  2. val Blob: dom.raw.Blob.type

  3. val DOMException: dom.raw.DOMException.type

  4. val Event: dom.raw.Event.type

  5. val EventException: dom.raw.EventException.type

  6. val EventSource: dom.raw.EventSource.type

  7. val FileReader: dom.raw.FileReader.type

  8. val FormData: dom.raw.FormData.type

  9. val KeyboardEvent: dom.raw.KeyboardEvent.type

  10. val MediaError: dom.raw.MediaError.type

  11. val MutationEvent: dom.raw.MutationEvent.type

  12. val Node: dom.raw.Node.type

  13. val NodeFilter: dom.raw.NodeFilter.type

  14. val PerformanceNavigation: dom.raw.PerformanceNavigation.type

  15. val PositionError: dom.raw.PositionError.type

  16. val Range: dom.raw.Range.type

  17. val TextEvent: dom.raw.TextEvent.type

  18. val TextTrack: dom.raw.TextTrack.type

  19. val WebSocket: dom.raw.WebSocket.type

  20. val WheelEvent: dom.raw.WheelEvent.type

  21. val Worker: dom.raw.Worker.type

  22. val XMLHttpRequest: dom.raw.XMLHttpRequest.type

  23. val XPathResult: dom.raw.XPathResult.type

  24. def addEventListener[T <: dom.raw.Event](type: String, listener: Function1[T, _], useCapture: Boolean = js.native): Unit

    The EventTarget.addEventListener() method registers the specified listener on the EventTarget it's called on.

    The EventTarget.addEventListener() method registers the specified listener on the EventTarget it's called on. The event target may be an Element in a document, the Document itself, a Window, or any other object that supports events (such as XMLHttpRequest).

    MDN

    Definition Classes
    EventTarget
  25. def alert(): Unit

    The Window.alert() method displays an alert dialog with the optional specified content and an OK button.

    The Window.alert() method displays an alert dialog with the optional specified content and an OK button.

    MDN

    Definition Classes
    Window
  26. def alert(message: String): Unit

    Definition Classes
    Window
  27. def applicationCache: dom.raw.ApplicationCache

    An OfflineResourceList object providing access to the offline resources for the window.

    An OfflineResourceList object providing access to the offline resources for the window.

    MDN

    Definition Classes
    Window
  28. def atob(encodedString: String): String

    Decodes a string of data which has been encoded using base-64 encoding.

    Decodes a string of data which has been encoded using base-64 encoding.

    Definition Classes
    WindowBase64
  29. def blur(): Unit

    The window.blur() method is the programmatic equivalent of the user shifting focus away from the current window.

    The window.blur() method is the programmatic equivalent of the user shifting focus away from the current window.

    MDN

    Definition Classes
    Window
  30. def btoa(rawString: String): String

    Creates a base-64 encoded ASCII string from a "string" of binary data.

    Creates a base-64 encoded ASCII string from a "string" of binary data.

    Definition Classes
    WindowBase64
  31. def cancelAnimationFrame(handle: Int): Unit

    Cancels an animation frame request previously scheduled through a call to window.requestAnimationFrame().

    Cancels an animation frame request previously scheduled through a call to window.requestAnimationFrame().

    MDN

    Definition Classes
    Window
  32. def clearImmediate(handle: Int): Unit

    Definition Classes
    WindowTimersExtension
  33. def clearInterval(handle: Int): Unit

    Cancels repeated action which was set up using setInterval.

    Cancels repeated action which was set up using setInterval.

    MDN

    Definition Classes
    WindowTimers
  34. def clearTimeout(handle: Int): Unit

    Clears the delay set by window.setTimeout().

    Clears the delay set by window.setTimeout().

    MDN

    Definition Classes
    WindowTimers
  35. def close(): Unit

    Closes the current window, or a referenced window.

    Closes the current window, or a referenced window.

    MDN

    Definition Classes
    Window
  36. def confirm(message: String = js.native): Boolean

    The Window.confirm() method displays a modal dialog with an optional message and two buttons, OK and Cancel.

    The Window.confirm() method displays a modal dialog with an optional message and two buttons, OK and Cancel.

    MDN

    Definition Classes
    Window
  37. var console: dom.raw.Console

    Definition Classes
    WindowConsole
  38. package crypto

  39. object css

    Short aliasas of all the dom.CSSThing classes

  40. def dispatchEvent(evt: dom.raw.Event): Boolean

    Dispatches an Event at the specified EventTarget, invoking the affected EventListeners in the appropriate order.

    Dispatches an Event at the specified EventTarget, invoking the affected EventListeners in the appropriate order. The normal event processing rules (including the capturing and optional bubbling phase) apply to events dispatched manually with dispatchEvent().

    MDN

    Definition Classes
    EventTarget
  41. def document: HTMLDocument

    Returns a reference to the document that the window contains.

    Returns a reference to the document that the window contains.

    MDN

    Definition Classes
    Window
  42. package experimental

  43. package ext

  44. def focus(): Unit

    Makes a request to bring the window to the front.

    Makes a request to bring the window to the front. It may fail due to user settings and the window isn't guaranteed to be frontmost before this method returns.

    MDN

    Definition Classes
    Window
  45. def frameElement: dom.raw.Element

    Returns the element (such as <iframe> or ) in which the window is embedded, or null if the window is top-level. MDN

    Returns the element (such as <iframe> or ) in which the window is embedded, or null if the window is top-level. MDN

    Definition Classes
    Window
  46. def frames: dom.raw.Window

    Returns the window itself, which is an array-like object, listing the direct sub-frames of the current window.

    Returns the window itself, which is an array-like object, listing the direct sub-frames of the current window.

    MDN

    Definition Classes
    Window
  47. def getComputedStyle(elt: dom.raw.Element, pseudoElt: String = js.native): CSSStyleDeclaration

    Definition Classes
    Window
  48. def getSelection(): dom.raw.Selection

    Returns a selection object representing the range of text selected by the user.

    Returns a selection object representing the range of text selected by the user.

    MDN

    Definition Classes
    Window
  49. def hasOwnProperty(v: String): Boolean

    Definition Classes
    Object
  50. def history: dom.raw.History

    The Window.history read-only property returns a reference to the History object, which provides an interface for manipulating the browser session history (pages visited in the tab or frame that the current page is loaded in).

    The Window.history read-only property returns a reference to the History object, which provides an interface for manipulating the browser session history (pages visited in the tab or frame that the current page is loaded in).

    MDN

    Definition Classes
    Window
  51. object html

    Short aliasas of all the dom.HTMLThing classes

  52. object idb

    Short aliasas of all the dom.IDBThing classes

  53. def indexedDB: IDBFactory

    an IDBRequest object that communicates back to the requesting application through events.

    an IDBRequest object that communicates back to the requesting application through events. This design means that any number of requests can be active on any database at a time.

    MDN

    Definition Classes
    IDBEnvironment
  54. def innerHeight: Int

    Gets the height of the content area of the browser window including, if rendered, the horizontal scrollbar.

    Gets the height of the content area of the browser window including, if rendered, the horizontal scrollbar.

    MDN

    Definition Classes
    Window
  55. def innerWidth: Int

    Gets the width of the content area of the browser window including, if rendered, the vertical scrollbar.

    Gets the width of the content area of the browser window including, if rendered, the vertical scrollbar.

    MDN

    Definition Classes
    Window
  56. def isPrototypeOf(v: Object): Boolean

    Definition Classes
    Object
  57. def length: Int

    Returns the number of frames (either frame or iframe elements) in the window.

    Returns the number of frames (either frame or iframe elements) in the window.

    MDN

    Definition Classes
    Window
  58. def localStorage: dom.raw.Storage

    Definition Classes
    WindowLocalStorage
  59. var location: dom.raw.Location

    The Window.location property returns a Location object with information about the current location of the document.

    The Window.location property returns a Location object with information about the current location of the document.

    MDN

    Definition Classes
    Window
  60. def matchMedia(mediaQuery: String): dom.raw.MediaQueryList

    Returns a new MediaQueryList object representing the parsed results of the specified media query string.

    Returns a new MediaQueryList object representing the parsed results of the specified media query string.

    MDN

    Definition Classes
    Window
  61. var name: String

    The name of the window is used primarily for setting targets for hyperlinks and forms.

    The name of the window is used primarily for setting targets for hyperlinks and forms. Windows do not need to have names.

    MDN

    Definition Classes
    Window
  62. def navigator: dom.raw.Navigator

    The Window.navigator read-only property returns a reference to the Navigator object, which can be queried for information about the application running the script.

    The Window.navigator read-only property returns a reference to the Navigator object, which can be queried for information about the application running the script.

    MDN

    Definition Classes
    Window
  63. var onabort: Function1[dom.raw.UIEvent, _]

    An event handler property for abort events on the window.

    An event handler property for abort events on the window.

    MDN

    Definition Classes
    Window
  64. var onafterprint: Function1[dom.raw.Event, _]

    The onafterprint property sets and returns the onafterprint event handler code for the current window.

    The onafterprint property sets and returns the onafterprint event handler code for the current window.

    MDN

    Definition Classes
    Window
  65. var onbeforeprint: Function1[dom.raw.Event, _]

    The onbeforeprint property sets and returns the onbeforeprint event handler code for the current window.

    The onbeforeprint property sets and returns the onbeforeprint event handler code for the current window.

    MDN

    Definition Classes
    Window
  66. var onbeforeunload: Function1[dom.raw.BeforeUnloadEvent, _]

    An event that fires when a window is about to unload its resources.

    An event that fires when a window is about to unload its resources. The document is still visible and the event is still cancelable.

    MDN

    Definition Classes
    Window
  67. var onblur: Function1[dom.raw.FocusEvent, _]

    The onblur property can be used to set the blur handler on the window, which is triggered when the window loses focus.

    The onblur property can be used to set the blur handler on the window, which is triggered when the window loses focus.

    MDN

    Definition Classes
    Window
  68. var oncanplay: Function1[dom.raw.Event, _]

    Definition Classes
    Window
  69. var oncanplaythrough: Function1[dom.raw.Event, _]

    Definition Classes
    Window
  70. var onchange: Function1[dom.raw.Event, _]

    An event handler property for change events on the window.

    An event handler property for change events on the window.

    MDN

    Definition Classes
    Window
  71. var onclick: Function1[dom.raw.MouseEvent, _]

    Called when the user clicks the mouse button while the cursor is in the window.

    Called when the user clicks the mouse button while the cursor is in the window. This event is fired for any mouse button pressed; you can look at the event properties to find out which button was pressed and where.

    MDN

    Definition Classes
    Window
  72. var oncontextmenu: Function1[dom.raw.MouseEvent, _]

    An event handler property for right-click events on the window.

    An event handler property for right-click events on the window.

    MDN

    Definition Classes
    Window
  73. var ondblclick: Function1[dom.raw.MouseEvent, _]

    Definition Classes
    Window
  74. var ondrag: Function1[dom.raw.DragEvent, _]

    Definition Classes
    Window
  75. var ondragend: Function1[dom.raw.DragEvent, _]

    Definition Classes
    Window
  76. var ondragenter: Function1[dom.raw.DragEvent, _]

    Called for an element when the mouse pointer first moves over the element while something is being dragged.

    Called for an element when the mouse pointer first moves over the element while something is being dragged. This might be used to change the appearance of the element to indicate to the user that the object can be dropped on it.

    MDN

    Definition Classes
    Window
  77. var ondragleave: Function1[dom.raw.DragEvent, _]

    Definition Classes
    Window
  78. var ondragover: Function1[dom.raw.DragEvent, _]

    Definition Classes
    Window
  79. var ondragstart: Function1[dom.raw.DragEvent, _]

    Definition Classes
    Window
  80. var ondrop: Function1[dom.raw.DragEvent, _]

    Definition Classes
    Window
  81. var ondurationchange: Function1[dom.raw.Event, _]

    Definition Classes
    Window
  82. var onemptied: Function1[dom.raw.Event, _]

    Definition Classes
    Window
  83. var onended: Function1[dom.raw.Event, _]

    Definition Classes
    Window
  84. var onerror: Function4[dom.raw.Event, String, Int, Int, _]

    An event handler property for errors raised on the window.

    An event handler property for errors raised on the window.

    MDN

    Definition Classes
    Window
  85. var onfocus: Function1[dom.raw.FocusEvent, _]

    An event handler property for focus events on the window.

    An event handler property for focus events on the window.

    MDN

    Definition Classes
    Window
  86. var onhashchange: Function1[dom.raw.HashChangeEvent, _]

    An event handler property for hash change events on the window; called when the part of the URL after the hash mark ("#") changes.

    An event handler property for hash change events on the window; called when the part of the URL after the hash mark ("#") changes.

    MDN

    Definition Classes
    Window
  87. var oninput: Function1[dom.raw.Event, _]

    Definition Classes
    Window
  88. var onkeydown: Function1[dom.raw.KeyboardEvent, _]

    An event handler property for keydown events on the window.

    An event handler property for keydown events on the window.

    MDN

    Definition Classes
    Window
  89. var onkeypress: Function1[dom.raw.KeyboardEvent, _]

    An event handler property for keypress events on the window.

    An event handler property for keypress events on the window.

    MDN

    Definition Classes
    Window
  90. var onkeyup: Function1[dom.raw.KeyboardEvent, _]

    An event handler property for keyup events on the window.

    An event handler property for keyup events on the window.

    MDN

    Definition Classes
    Window
  91. var onload: Function1[dom.raw.Event, _]

    An event handler property for window loading.

    An event handler property for window loading.

    MDN

    Definition Classes
    Window
  92. var onloadeddata: Function1[dom.raw.Event, _]

    Definition Classes
    Window
  93. var onloadedmetadata: Function1[dom.raw.Event, _]

    Definition Classes
    Window
  94. var onloadstart: Function1[dom.raw.Event, _]

    Definition Classes
    Window
  95. var onmessage: Function1[dom.raw.MessageEvent, _]

    Definition Classes
    Window
  96. var onmousedown: Function1[dom.raw.MouseEvent, _]

    An event handler property for mousedown events on the window.

    An event handler property for mousedown events on the window.

    MDN

    Definition Classes
    Window
  97. var onmousemove: Function1[dom.raw.MouseEvent, _]

    An event handler property for mousemove events on the window.

    An event handler property for mousemove events on the window.

    MDN

    Definition Classes
    Window
  98. var onmouseout: Function1[dom.raw.MouseEvent, _]

    An event handler property for mouseout events on the window.

    An event handler property for mouseout events on the window.

    MDN

    Definition Classes
    Window
  99. var onmouseover: Function1[dom.raw.MouseEvent, _]

    An event handler property for mouseover events on the window.

    An event handler property for mouseover events on the window.

    MDN

    Definition Classes
    Window
  100. var onmouseup: Function1[dom.raw.MouseEvent, _]

    An event handler property for mouseup events on the window.

    An event handler property for mouseup events on the window.

    MDN

    Definition Classes
    Window
  101. var onmousewheel: Function1[dom.raw.WheelEvent, _]

    Definition Classes
    Window
  102. var onoffline: Function1[dom.raw.Event, _]

    Definition Classes
    Window
  103. var ononline: Function1[dom.raw.Event, _]

    Definition Classes
    Window
  104. var onpause: Function1[dom.raw.Event, _]

    Definition Classes
    Window
  105. var onplay: Function1[dom.raw.Event, _]

    Definition Classes
    Window
  106. var onplaying: Function1[dom.raw.Event, _]

    Definition Classes
    Window
  107. var onpopstate: Function1[dom.raw.PopStateEvent, _]

    An event handler property for popstate events, which are fired when navigating to a session history entry representing a state object.

    An event handler property for popstate events, which are fired when navigating to a session history entry representing a state object.

    MDN

    Definition Classes
    Window
  108. var onprogress: Function1[Any, _]

    Definition Classes
    Window
  109. var onratechange: Function1[dom.raw.Event, _]

    Definition Classes
    Window
  110. var onreadystatechange: Function1[dom.raw.Event, _]

    Definition Classes
    Window
  111. var onreset: Function1[dom.raw.Event, _]

    An event handler property for reset events on the window.

    An event handler property for reset events on the window.

    MDN

    Definition Classes
    Window
  112. var onresize: Function1[dom.raw.UIEvent, _]

    An event handler for the resize event on the window.

    An event handler for the resize event on the window.

    MDN

    Definition Classes
    Window
  113. var onscroll: Function1[dom.raw.UIEvent, _]

    Specifies the function to be called when the window is scrolled.

    Specifies the function to be called when the window is scrolled.

    MDN

    Definition Classes
    Window
  114. var onseeked: Function1[dom.raw.Event, _]

    Definition Classes
    Window
  115. var onseeking: Function1[dom.raw.Event, _]

    Definition Classes
    Window
  116. var onselect: Function1[dom.raw.UIEvent, _]

    An event handler property for window selection.

    An event handler property for window selection.

    MDN

    Definition Classes
    Window
  117. var onstalled: Function1[dom.raw.Event, _]

    Definition Classes
    Window
  118. var onstorage: Function1[dom.raw.StorageEvent, _]

    Definition Classes
    Window
  119. var onsubmit: Function1[dom.raw.Event, _]

    An event handler property for submits on window forms.

    An event handler property for submits on window forms.

    MDN

    Definition Classes
    Window
  120. var onsuspend: Function1[dom.raw.Event, _]

    Definition Classes
    Window
  121. var ontimeupdate: Function1[dom.raw.Event, _]

    Definition Classes
    Window
  122. var onunload: Function1[dom.raw.Event, _]

    The unload event is raised when the window is unloading its content and resources.

    The unload event is raised when the window is unloading its content and resources. The resources removal is processed  after the unload event occurs.

    MDN

    Definition Classes
    Window
  123. var onvolumechange: Function1[dom.raw.Event, _]

    Definition Classes
    Window
  124. var onwaiting: Function1[dom.raw.Event, _]

    Definition Classes
    Window
  125. def open(url: String = js.native, target: String = js.native, features: String = js.native, replace: Boolean = js.native): dom.raw.Window

    Loads a resource in a new browsing context or an existing one.

    Loads a resource in a new browsing context or an existing one.

    MDN

    Definition Classes
    Window
  126. var opener: dom.raw.Window

    Returns a reference to the window that opened this current window.

    Returns a reference to the window that opened this current window.

    MDN

    Definition Classes
    Window
  127. def outerHeight: Int

    window.outerHeight gets the height in pixels of the whole browser window.

    window.outerHeight gets the height in pixels of the whole browser window. It represents the height of the whole browser window including sidebar (if expanded), window chrome and window resizing borders/handles.

    MDN

    Definition Classes
    Window
  128. def outerWidth: Int

    window.outerWidth gets the width of the outside of the browser window.

    window.outerWidth gets the width of the outside of the browser window. It represents the width of the whole browser window including sidebar (if expanded), window chrome and window resizing borders/handles.

    MDN

    Definition Classes
    Window
  129. def pageXOffset: Int

    Returns the number of pixels that the document has already been scrolled horizontally.

    Returns the number of pixels that the document has already been scrolled horizontally.

    MDN

    Definition Classes
    Window
  130. def pageYOffset: Int

    Returns the number of pixels that the document has already been scrolled vertically.

    Returns the number of pixels that the document has already been scrolled vertically.

    MDN

    Definition Classes
    Window
  131. def parent: dom.raw.Window

    Returns a reference to the parent of the current window or subframe.

    Returns a reference to the parent of the current window or subframe.

    MDN

    Definition Classes
    Window
  132. def performance: dom.raw.Performance

    The Web Performance API allows web pages access to certain functions for measuring the performance of web pages and web applications, including the Navigation Timing API and high-resolution time data.

    The Web Performance API allows web pages access to certain functions for measuring the performance of web pages and web applications, including the Navigation Timing API and high-resolution time data.

    MDN

    Definition Classes
    Window
  133. def postMessage(message: Any, targetOrigin: String, transfer: Any = js.native): Unit

    The window.postMessage method safely enables cross-origin communication.

    The window.postMessage method safely enables cross-origin communication. Normally, scripts on different pages are allowed to access each other if and only if the pages that executed them are at locations with the same protocol (usually both http), port number (80 being the default for http), and host (modulo document.domain being set by both pages to the same value). window.postMessage provides a controlled mechanism to circumvent this restriction in a way which is secure when properly used.

    MDN

    Definition Classes
    Window
  134. def print(): Unit

    Opens the Print Dialog to print the current document.

    Opens the Print Dialog to print the current document.

    MDN

    Definition Classes
    Window
  135. def prompt(): String

    The Window.prompt() displays a dialog with an optional message prompting the user to input some text.

    The Window.prompt() displays a dialog with an optional message prompting the user to input some text.

    MDN

    Definition Classes
    Window
  136. def prompt(message: String, default: String = js.native): String

    Definition Classes
    Window
  137. def propertyIsEnumerable(v: String): Boolean

    Definition Classes
    Object
  138. package raw

  139. def removeEventListener[T <: dom.raw.Event](type: String, listener: Function1[T, _], useCapture: Boolean = js.native): Unit

    Removes the event listener previously registered with EventTarget.addEventListener.

    Removes the event listener previously registered with EventTarget.addEventListener.

    MDN

    Definition Classes
    EventTarget
  140. def requestAnimationFrame(callback: Function1[Double, _]): Int

    The window.requestAnimationFrame() method tells the browser that you wish to perform an animation and requests that the browser call a specified function to update an animation before the next repaint.

    The window.requestAnimationFrame() method tells the browser that you wish to perform an animation and requests that the browser call a specified function to update an animation before the next repaint. The method takes as an argument a callback to be invoked before the repaint.

    MDN

    Definition Classes
    Window
  141. def screen: dom.raw.Screen

    Specifies the height of the screen, in pixels, minus permanent or semipermanent user interface features displayed by the operating system, such as the Taskbar on Windows.

    Specifies the height of the screen, in pixels, minus permanent or semipermanent user interface features displayed by the operating system, such as the Taskbar on Windows.

    MDN

    Definition Classes
    Window
  142. var screenX: Int

    Returns the horizontal distance of the left border of the user's browser from the left side of the screen.

    Returns the horizontal distance of the left border of the user's browser from the left side of the screen.

    MDN

    Definition Classes
    Window
  143. def screenY: Int

    Returns the vertical distance of the top border of the user's browser from the top edge of the screen.

    Returns the vertical distance of the top border of the user's browser from the top edge of the screen.

    MDN

    Definition Classes
    Window
  144. def scroll(x: Int, y: Int): Unit

    Scrolls the window to a particular place in the document.

    Scrolls the window to a particular place in the document.

    MDN

    Definition Classes
    Window
  145. def scrollBy(x: Int, y: Int): Unit

    Scrolls the document in the window by the given amount.

    Scrolls the document in the window by the given amount.

    MDN

    Definition Classes
    Window
  146. def scrollTo(x: Int, y: Int): Unit

    Scrolls to a particular set of coordinates in the document.

    Scrolls to a particular set of coordinates in the document.

    MDN

    Definition Classes
    Window
  147. def self: dom.raw.Window

    Returns an object reference to the window object itself.

    Returns an object reference to the window object itself.

    MDN

    Definition Classes
    Window
  148. def sessionStorage: dom.raw.Storage

    This is a global object (sessionStorage) that maintains a storage area that's available for the duration of the page session.

    This is a global object (sessionStorage) that maintains a storage area that's available for the duration of the page session. A page session lasts for as long as the browser is open and survives over page reloads and restores. Opening a page in a new tab or window will cause a new session to be initiated.

    MDN

    Definition Classes
    WindowSessionStorage
  149. def setImmediate(handler: Function0[Any]): Int

    Definition Classes
    WindowTimersExtension
  150. def setInterval(handler: Function0[Any], timeout: Double): Int

    Calls a function or executes a code snippet repeatedly, with a fixed time delay between each call to that function.

    Calls a function or executes a code snippet repeatedly, with a fixed time delay between each call to that function.

    MDN

    Definition Classes
    WindowTimers
  151. def setTimeout(handler: Function0[Any], timeout: Double): Int

    Calls a function or executes a code snippet after a specified delay.

    Calls a function or executes a code snippet after a specified delay.

    MDN

    Definition Classes
    WindowTimers
  152. def showModalDialog(url: String = js.native, argument: Any = js.native, options: Any = js.native): Dynamic

    The Window.showModalDialog() creates and displays a modal dialog box containing a specified HTML document.

    The Window.showModalDialog() creates and displays a modal dialog box containing a specified HTML document.

    url

    The URI of the document to display in the dialog box

    argument

    An optional variant the contains values that should be passed to the dialog box; these are made available in the window object's dialogArguments property.

    options

    An optional String that specifies window ornamentation

    Definition Classes
    Window
  153. def styleMedia: dom.raw.StyleMedia

    Definition Classes
    Window
  154. object svg

    Short aliasas of all the dom.SVGThing classes

  155. def toLocaleString(): String

    Definition Classes
    Object
  156. def top: dom.raw.Window

    Returns a reference to the topmost window in the window hierarchy.

    Returns a reference to the topmost window in the window hierarchy. This property is read only.

    MDN

    Definition Classes
    Window
  157. def valueOf(): Any

    Definition Classes
    Object
  158. object webgl

    Short aliasas of all the dom.WebGLThing classes

  159. def window: dom.raw.Window

    The window property of a window object points to the window object itself.

    The window property of a window object points to the window object itself.

    MDN

    Definition Classes
    Window
  160. Inherited from GlobalScope

    Inherited from dom.raw.Window

    Inherited from dom.raw.WindowConsole

    Inherited from IDBEnvironment

    Inherited from dom.raw.WindowBase64

    Inherited from dom.raw.WindowTimers

    Inherited from dom.raw.EventTarget

    Inherited from Object

    Inherited from Any

    Inherited from AnyRef

    Inherited from Any

    Ungrouped