Browser

Utility api functions to control browser behaviour

isSupported() ⇒ boolean

Validate if browser is supported

reload()

Trigger a reload of the writer based on current hash held internally in the api

getHash() ⇒ string

Deprecated

getId() ⇒ string

Get the pathname in the browser location bar.

setHash(hash) ⇒ string

Deprecated

Parameters

setId(id) ⇒ string

Set the pathname as id in the browser url.

Parameters

addExternalScript(scriptSource) ⇒ Promise

Adds a script tag in html document

Parameters

openInNewWindow()

Open an URL in a new window

Parameters

getUrl(instructions)

Gets an URL from the specific instructions

Parameters

Last updated