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 AnimationEvent = dom.raw.AnimationEvent

  3. type ApplicationCache = dom.raw.ApplicationCache

  4. type Attr = dom.raw.Attr

  5. type AudioTrack = dom.raw.AudioTrack

  6. type AudioTrackList = dom.raw.AudioTrackList

  7. type BeforeUnloadEvent = dom.raw.BeforeUnloadEvent

  8. type Blob = dom.raw.Blob

  9. type BlobPropertyBag = dom.raw.BlobPropertyBag

  10. type CDATASection = dom.raw.CDATASection

  11. type CanvasGradient = dom.raw.CanvasGradient

  12. type CanvasPattern = dom.raw.CanvasPattern

  13. type CanvasRenderingContext2D = dom.raw.CanvasRenderingContext2D

  14. type CharacterData = dom.raw.CharacterData

  15. type ClientRect = dom.raw.ClientRect

  16. type ClientRectList = dom.raw.ClientRectList

  17. type CloseEvent = dom.raw.CloseEvent

  18. type Comment = dom.raw.Comment

  19. type CompositionEvent = dom.raw.CompositionEvent

  20. type Console = dom.raw.Console

  21. type Coordinates = dom.raw.Coordinates

  22. type CustomEvent = dom.raw.CustomEvent

  23. type DOMError = dom.raw.DOMError

  24. type DOMException = dom.raw.DOMException

  25. type DOMImplementation = dom.raw.DOMImplementation

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

  27. type DOMParser = dom.raw.DOMParser

  28. type DOMSettableTokenList = dom.raw.DOMSettableTokenList

  29. type DOMStringList = dom.raw.DOMStringList

  30. type DOMTokenList = dom.raw.DOMTokenList

  31. type DataTransfer = dom.raw.DataTransfer

  32. type Document = dom.raw.Document

  33. type DocumentEvent = dom.raw.DocumentEvent

  34. type DocumentFragment = dom.raw.DocumentFragment

  35. type DocumentType = dom.raw.DocumentType

  36. type DragEvent = dom.raw.DragEvent

  37. type Element = dom.raw.Element

  38. type ErrorEvent = dom.raw.ErrorEvent

  39. type Event = dom.raw.Event

  40. type EventException = dom.raw.EventException

  41. type EventSource = dom.raw.EventSource

  42. type EventTarget = dom.raw.EventTarget

  43. type External = dom.raw.External

  44. type File = dom.raw.File

  45. type FileList = dom.raw.FileList

  46. type FileReader = dom.raw.FileReader

  47. type FocusEvent = dom.raw.FocusEvent

  48. type FormData = dom.raw.FormData

  49. type Geolocation = dom.raw.Geolocation

  50. type HashChangeEvent = dom.raw.HashChangeEvent

  51. type History = dom.raw.History

  52. type ImageData = dom.raw.ImageData

  53. type KeyboardEvent = dom.raw.KeyboardEvent

  54. type LinkStyle = dom.raw.LinkStyle

  55. type Location = dom.raw.Location

  56. type MediaError = dom.raw.MediaError

  57. type MediaList = dom.raw.MediaList

  58. type MediaQueryList = dom.raw.MediaQueryList

  59. type MediaQueryListListener = dom.raw.MediaQueryListListener

  60. type MessageChannel = dom.raw.MessageChannel

  61. type MessageEvent = dom.raw.MessageEvent

  62. type MessagePort = dom.raw.MessagePort

  63. type ModifierKeyEvent = dom.raw.ModifierKeyEvent

  64. type MouseEvent = dom.raw.MouseEvent

  65. type MutationEvent = dom.raw.MutationEvent

  66. type MutationObserver = dom.raw.MutationObserver

  67. type MutationObserverInit = dom.raw.MutationObserverInit

  68. type MutationRecord = dom.raw.MutationRecord

  69. type NamedNodeMap = dom.raw.NamedNodeMap

  70. type Navigator = dom.raw.Navigator

  71. type NavigatorContentUtils = dom.raw.NavigatorContentUtils

  72. type NavigatorGeolocation = dom.raw.NavigatorGeolocation

  73. type NavigatorID = dom.raw.NavigatorID

  74. type NavigatorOnLine = dom.raw.NavigatorOnLine

  75. type NavigatorStorageUtils = dom.raw.NavigatorStorageUtils

  76. type Node = dom.raw.Node

  77. type NodeFilter = dom.raw.NodeFilter

  78. type NodeIterator = dom.raw.NodeIterator

  79. type NodeList = dom.raw.NodeList

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

  81. type NodeSelector = dom.raw.NodeSelector

  82. type ObjectURLOptions = dom.raw.ObjectURLOptions

  83. type ParentNode = dom.raw.ParentNode

  84. type Performance = dom.raw.Performance

  85. type PerformanceEntry = dom.raw.PerformanceEntry

  86. type PerformanceMark = dom.raw.PerformanceMark

  87. type PerformanceMeasure = dom.raw.PerformanceMeasure

  88. type PerformanceNavigation = dom.raw.PerformanceNavigation

  89. type PerformanceResourceTiming = dom.raw.PerformanceResourceTiming

  90. type PerformanceTiming = dom.raw.PerformanceTiming

  91. type PopStateEvent = dom.raw.PopStateEvent

  92. type Position = dom.raw.Position

  93. type PositionError = dom.raw.PositionError

  94. type PositionOptions = dom.raw.PositionOptions

  95. type ProcessingInstruction = dom.raw.ProcessingInstruction

  96. type ProgressEvent = dom.raw.ProgressEvent

  97. type Range = dom.raw.Range

  98. type Screen = dom.raw.Screen

  99. type Selection = dom.raw.Selection

  100. type Storage = dom.raw.Storage

  101. type StorageEvent = dom.raw.StorageEvent

  102. type StyleMedia = dom.raw.StyleMedia

  103. type StyleSheet = dom.raw.StyleSheet

  104. type StyleSheetList = dom.raw.StyleSheetList

  105. type Text = dom.raw.Text

  106. type TextEvent = dom.raw.TextEvent

  107. type TextMetrics = dom.raw.TextMetrics

  108. type TextTrack = dom.raw.TextTrack

  109. type TextTrackCue = dom.raw.TextTrackCue

  110. type TextTrackCueList = dom.raw.TextTrackCueList

  111. type TextTrackList = dom.raw.TextTrackList

  112. type TimeRanges = dom.raw.TimeRanges

  113. type Touch = dom.raw.Touch

  114. type TouchEvent = dom.raw.TouchEvent

  115. type TouchList = dom.raw.TouchList

  116. type TrackEvent = dom.raw.TrackEvent

  117. type TransitionEvent = dom.raw.TransitionEvent

  118. type TreeWalker = dom.raw.TreeWalker

  119. type UIEvent = dom.raw.UIEvent

  120. type URL = dom.raw.URL

  121. type ValidityState = dom.raw.ValidityState

  122. type WebSocket = dom.raw.WebSocket

  123. type WheelEvent = dom.raw.WheelEvent

  124. type Window = dom.raw.Window

  125. type WindowBase64 = dom.raw.WindowBase64

  126. type WindowConsole = dom.raw.WindowConsole

  127. type WindowLocalStorage = dom.raw.WindowLocalStorage

  128. type WindowSessionStorage = dom.raw.WindowSessionStorage

  129. type WindowTimers = dom.raw.WindowTimers

  130. type WindowTimersExtension = dom.raw.WindowTimersExtension

  131. type Worker = dom.raw.Worker

  132. type XMLHttpRequest = dom.raw.XMLHttpRequest

  133. type XMLHttpRequestEventTarget = dom.raw.XMLHttpRequestEventTarget

  134. type XMLSerializer = dom.raw.XMLSerializer

  135. type XPathNSResolver = dom.raw.XPathNSResolver

  136. type XPathResult = dom.raw.XPathResult

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 MutationObserverInit: dom.raw.MutationObserverInit.type

  13. val Node: dom.raw.Node.type

  14. val NodeFilter: dom.raw.NodeFilter.type

  15. val PerformanceNavigation: dom.raw.PerformanceNavigation.type

  16. val PositionError: dom.raw.PositionError.type

  17. val Range: dom.raw.Range.type

  18. val TextEvent: dom.raw.TextEvent.type

  19. val TextTrack: dom.raw.TextTrack.type

  20. val WebSocket: dom.raw.WebSocket.type

  21. val WheelEvent: dom.raw.WheelEvent.type

  22. val Worker: dom.raw.Worker.type

  23. val XMLHttpRequest: dom.raw.XMLHttpRequest.type

  24. val XPathResult: dom.raw.XPathResult.type

  25. 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
  26. 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
  27. def alert(message: String): Unit

    Definition Classes
    Window
  28. 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
  29. 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
  30. 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
  31. 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
  32. 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
  33. def clearImmediate(handle: Int): Unit

    Definition Classes
    WindowTimersExtension
  34. 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
  35. def clearTimeout(handle: Int): Unit

    Clears the delay set by window.setTimeout().

    Clears the delay set by window.setTimeout().

    MDN

    Definition Classes
    WindowTimers
  36. def close(): Unit

    Closes the current window, or a referenced window.

    Closes the current window, or a referenced window.

    MDN

    Definition Classes
    Window
  37. 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
  38. var console: dom.raw.Console

    Definition Classes
    WindowConsole
  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 ext

  43. 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
  44. 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
  45. 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
  46. def getComputedStyle(elt: dom.raw.Element, pseudoElt: String = js.native): CSSStyleDeclaration

    Definition Classes
    Window
  47. 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
  48. def hasOwnProperty(v: String): Boolean

    Definition Classes
    Object
  49. 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
  50. object html

    Short aliasas of all the dom.HTMLThing classes

  51. object idb

    Short aliasas of all the dom.IDBThing classes

  52. 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
  53. 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
  54. var 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
  55. def isPrototypeOf(v: Object): Boolean

    Definition Classes
    Object
  56. 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
  57. def localStorage: dom.raw.Storage

    Definition Classes
    WindowLocalStorage
  58. 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
  59. 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
  60. 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
  61. 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
  62. 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
  63. 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
  64. 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
  65. 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
  66. 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
  67. var oncanplay: Function1[dom.raw.Event, _]

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

    Definition Classes
    Window
  69. 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
  70. 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
  71. 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
  72. var ondblclick: Function1[dom.raw.MouseEvent, _]

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

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

    Definition Classes
    Window
  75. 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
  76. var ondragleave: Function1[dom.raw.DragEvent, _]

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

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

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

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

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

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

    Definition Classes
    Window
  83. 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
  84. 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
  85. 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
  86. var oninput: Function1[dom.raw.Event, _]

    Definition Classes
    Window
  87. 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
  88. 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
  89. 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
  90. var onload: Function1[dom.raw.Event, _]

    An event handler property for window loading.

    An event handler property for window loading.

    MDN

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

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

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

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

    Definition Classes
    Window
  95. 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
  96. 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
  97. 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
  98. 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
  99. 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
  100. var onmousewheel: Function1[dom.raw.WheelEvent, _]

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

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

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

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

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

    Definition Classes
    Window
  106. 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
  107. var onprogress: Function1[Any, _]

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

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

    Definition Classes
    Window
  110. 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
  111. 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
  112. 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
  113. var onseeked: Function1[dom.raw.Event, _]

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

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

    An event handler property for window selection.

    An event handler property for window selection.

    MDN

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

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

    Definition Classes
    Window
  118. 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
  119. var onsuspend: Function1[dom.raw.Event, _]

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

    Definition Classes
    Window
  121. 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
  122. var onvolumechange: Function1[dom.raw.Event, _]

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

    Definition Classes
    Window
  124. 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
  125. 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
  126. 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
  127. 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
  128. 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
  129. 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
  130. 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
  131. 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
  132. 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
  133. 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
  134. 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
  135. def prompt(message: String, default: String = js.native): String

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

    Definition Classes
    Object
  137. package raw

  138. def removeEventListener(type: String, listener: Function1[dom.raw.Event, _], 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
  139. 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
  140. 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
  141. 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
  142. 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
  143. 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
  144. 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
  145. 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
  146. 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
  147. 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
  148. def setImmediate(handler: Function0[Any]): Int

    Definition Classes
    WindowTimersExtension
  149. 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
  150. 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
  151. 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
  152. def styleMedia: dom.raw.StyleMedia

    Definition Classes
    Window
  153. object svg

    Short aliasas of all the dom.SVGThing classes

  154. def toLocaleString(): String

    Definition Classes
    Object
  155. 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
  156. def valueOf(): Any

    Definition Classes
    Object
  157. object webgl

    Short aliasas of all the dom.WebGLThing classes

  158. 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
  159. 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