Haxe API Documentation
Back | Index
class js.Browser
Available in js
static var document(default,null) : js.html.Document
static var location(default,null) : js.html.Location
static var navigator(default,null) : js.html.Navigator
static var window(default,null) : js.html.DOMWindow
static function createXMLHttpRequest() : js.html.XMLHttpRequest
Creates an XMLHttpRequest, with a fallback to ActiveXObject for ancient versions of Internet Explorer.
static function getLocalStorage() : js.html.Storage
Safely gets the browser's local storage, or returns null if localStorage is unsupported or disabled.
static function getSessionStorage() : js.html.Storage
Safely gets the browser's session storage, or returns null if sessionStorage is unsupported or disabled.
Back | Index