Globals API
chevron down
 

Globals API

Variable: self

Type: [CompanionGlobalScope]

New in SDK 3.0.0

The self read-only property of the CompanionGlobalScope interface returns a reference to theCompanionGlobalScope itself.

Interface: CompanionGlobalScope

New in SDK 3.0.0

The CompanionGlobalScope interface is an interface representing the scope of any companion. Companions have no browsing context; this scope contains the information usually conveyed by Window objects

Properties

self

CompanionGlobalScope

Methods

clearInterval()

clearInterval(handle: number)

Returns: void

clearTimeout()

clearTimeout(handle: number)

Returns: void

setInterval()

setInterval(handler: (...args: any[]) => void, timeout: number, params: any[])

Returns: number

setTimeout()

setTimeout(handler: (...args: any[]) => void, timeout: number, params: any[])

Returns: number