Global

Global scope

Methods

t()

Polyfills for ES5: console.log, Event, CustomEvent, Location.origin, Location.toString, DOMTokenList.prototype {add, remove, item, contains, toggle (1 arg), length} requestAnimationFrame, cancelAnimationFrame
Source:
polyfills-es5.min.js, line 9

Type Definitions

element_tag

A tagName of an Element (such as "link").
Source:
core.js, line 95
Type:

string

propertiesDescriptor

Same as the second param for Object.defineProperties
Source:
core.js, line 81
Type:

object

propertyDescriptor

Same as the third param for Object.defineProperty
Source:
core.js, line 88
Type:

object

url

An absolute, relative or blob url.
Source:
core.js, line 57
Type:

string

url_parts

The full parts of an url.
Source:
core.js, line 64
Properties:
Name Type Description
protocol
string A protocol (including ":", like "ftp:") or ":".
href
string An absolute url (like "ftp://username:password@www.example.com:80/a?b=1#c").
host
string The host (like "www.example.com:80") or an empty string.
hostname
string A hostname (like "www.example.com").
port
string The GIVEN port as a number (like "80") or an empty string.
pathname
string A pathname (like "/a").
origin
string The origin (like "ftp://www.example.com").
search
string The query arguments (including "?", like "?b=1") or an empty string.
hash
string The hash (including '#', like "#c") or an empty string.
username
string The given username or an empty string.
password
string The given password or an empty string.
Type:

Object