package browser
browser package object
- Alphabetic
- By Inheritance
- browser
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
class
Console
extends Object
The console module provides a simple debugging console that is similar to the JavaScript console mechanism provided by web browsers.
The console module provides a simple debugging console that is similar to the JavaScript console mechanism provided by web browsers.
The module exports two specific components:
- A Console class with methods such as console.log(), console.error() and console.warn() that can be used to write to any Node.js stream.
- A global console instance configured to write to stdout and stderr. Because this object is global, it can be used without calling require('console').
- Annotations
- @RawJSType() @native() @JSGlobal( "Console" )
-
class
Frame
extends Object
Window Frame
Window Frame
- Annotations
- @RawJSType() @native() @JSGlobal( "Frame" )
-
class
Location
extends Object
Window Location object
Window Location object
- Annotations
- @RawJSType() @native() @JSGlobal( "Location" )
- See also
https://developer.mozilla.org/en-US/docs/Web/API/Location
-
class
MediaQueryList
extends Object
A MediaQueryList object maintains a list of media queries on a document, and handles sending notifications to listeners when the media queries on the document change.
A MediaQueryList object maintains a list of media queries on a document, and handles sending notifications to listeners when the media queries on the document change.
This makes it possible to observe a document to detect when its media queries change, instead of polling the values periodically, if you need to programmatically detect changes to the values of media queries on a document.
- Annotations
- @RawJSType() @native() @JSGlobal( "MediaQueryList" )
- See also
https://developer.mozilla.org/en-US/docs/Web/API/MediaQueryList
-
trait
RawApplyFunction
[A, B] extends Object
JavaScript decodeuri() / encodeuri() Function
JavaScript decodeuri() / encodeuri() Function
- Annotations
- @RawJSType() @native()
- See also
-
class
Selection
extends Object
A Selection object represents the range of text selected by the user or the current position of the caret.
A Selection object represents the range of text selected by the user or the current position of the caret. To obtain a Selection object for examination or modification, call window.getSelection().
A user may make a selection from left to right (in document order) or right to left (reverse of document order). The anchor is where the user began the selection and the focus is where the user ends the selection. If you make a selection with a desktop mouse, the anchor is placed where you pressed the mouse button and the focus is placed where you released the mouse button. Anchor and focus should not be confused with the start and end positions of a selection, since anchor can be placed before the focus or vice versa, depending on the direction you made your selection.
- Annotations
- @RawJSType() @native() @JSGlobal( "Selection" )
- See also
https://developer.mozilla.org/en-US/docs/Web/API/Selection
-
class
Window
extends Object
Window object
Window object
- Annotations
- @RawJSType() @native() @JSGlobal( "Window" )
- See also
https://developer.mozilla.org/en-US/docs/Web/API/Window
Value Members
-
object
Window
Window Companion
-
object
console
extends Console
- Annotations
- @native() @JSGlobal( "console" )
-
object
decodeURI
extends Object with RawApplyFunction[String, String]
- Annotations
- @native() @JSGlobal( "decodeURI" )
-
object
decodeURIComponent
extends Object with RawApplyFunction[String, String]
- Annotations
- @native() @JSGlobal( "decodeURIComponent" )
-
object
document
extends Object with Document
- Annotations
- @native() @JSGlobal( "document" )
-
object
encodeURI
extends Object with RawApplyFunction[String, String]
- Annotations
- @native() @JSGlobal( "encodeURI" )
-
object
encodeURIComponent
extends Object with RawApplyFunction[String, String]
- Annotations
- @native() @JSGlobal( "encodeURIComponent" )
-
object
escape
extends Object with RawApplyFunction[String, String]
- Annotations
- @native() @JSGlobal( "escape" )
-
object
eval
extends Object with RawApplyFunction[String, Any]
- Annotations
- @native() @JSGlobal( "eval" )
-
object
location
extends Location
- Annotations
- @native() @JSGlobal( "location" )
-
object
performance
extends Performance
- Annotations
- @native() @JSGlobal( "performance" )
-
object
unescape
extends Object with RawApplyFunction[String, String]
- Annotations
- @native() @JSGlobal( "unescape" )
-
object
window
extends Window
- Annotations
- @native() @JSGlobal( "window" )