Interface Window

Extensions to the browser Window object.

Hierarchy

  • EventTarget
    • MSEventAttachmentTarget
      • WindowLocalStorage
        • MSWindowExtensions
          • WindowSessionStorage
            • WindowTimers
              • WindowBase64
                • IDBEnvironment
                  • WindowConsole
                    • GlobalEventHandlers
                      • Window

Index

Properties

Methods

Properties

public clientInformation: Navigator

public clipboardData: DataTransfer

public closed: boolean

public console: Console

public defaultStatus: string

public event: MSEventObj

public external: External

public indexedDB: IDBFactory

public localStorage: Storage

public maxConnectionsPerServer: number

public msIndexedDB: IDBFactory

public offscreenBuffering: any

public onfocusin: (ev: FocusEvent) => any

public onfocusout: (ev: FocusEvent) => any

public onhelp: (ev: Event) => any

public onmouseenter: (ev: MouseEvent) => any

public onmouseleave: (ev: MouseEvent) => any

public onpointercancel: (ev: PointerEvent) => any

public onpointerdown: (ev: PointerEvent) => any

public onpointerenter: (ev: PointerEvent) => any

public onpointerleave: (ev: PointerEvent) => any

public onpointermove: (ev: PointerEvent) => any

public onpointerout: (ev: PointerEvent) => any

public onpointerover: (ev: PointerEvent) => any

public onpointerup: (ev: PointerEvent) => any

public screenLeft: number

public screenTop: number

public sessionStorage: Storage

public status: string

public token: string

Allows you to pass the id_token to other APIs, as specified in https://docs.auth0.com/apps-apis

Methods

public addEventListener(type: string, listener: EventListener, useCapture?: boolean)

Parameters

  • type: string
  • listener: EventListener
  • useCapture?: boolean optional

public atob(encodedString: string): string

Parameters

  • encodedString: string

Returns

string

public attachEvent(event: string, listener: EventListener): boolean

Parameters

  • event: string
  • listener: EventListener

Returns

boolean

public btoa(rawString: string): string

Parameters

  • rawString: string

Returns

string

public captureEvents()

public clearImmediate(handle: number)

Parameters

  • handle: number

public clearImmediate(handle: number)

Parameters

  • handle: number

public clearInterval(handle: number)

Parameters

  • handle: number

public clearTimeout(handle: number)

Parameters

  • handle: number

public createPopup(arguments?: any): MSPopupWindow

Parameters

  • arguments?: any optional

Returns

MSPopupWindow

public detachEvent(event: string, listener: EventListener)

Parameters

  • event: string
  • listener: EventListener

public dispatchEvent(evt: Event): boolean

Parameters

  • evt: Event

Returns

boolean

public execScript(code: string, language?: string): any

Parameters

  • code: string
  • language?: string optional

Returns

any

public item(index: any): any

Parameters

  • index: any

Returns

any

public moveBy(x?: number, y?: number)

Parameters

  • x?: number optional
  • y?: number optional

public moveTo(x?: number, y?: number)

Parameters

  • x?: number optional
  • y?: number optional

public msClearImmediate(handle: number)

Parameters

  • handle: number

public msClearImmediate(handle: number)

Parameters

  • handle: number

public msSetImmediate(expression: any, args?: Array<any>): number

Parameters

  • expression: any
  • args?: Array<any> optional

Returns

number

public msSetImmediate(expression: any, args?: Array<any>): number

Parameters

  • expression: any
  • args?: Array<any> optional

Returns

number

public msWriteProfilerMark(profilerMarkName: string)

Parameters

  • profilerMarkName: string

public navigate(url: string)

Parameters

  • url: string

public releaseEvents()

public removeEventListener(type: string, listener: EventListener, useCapture?: boolean)

Parameters

  • type: string
  • listener: EventListener
  • useCapture?: boolean optional

public resizeBy(x?: number, y?: number)

Parameters

  • x?: number optional
  • y?: number optional

public resizeTo(x?: number, y?: number)

Parameters

  • x?: number optional
  • y?: number optional

public setImmediate(expression: any, args?: Array<any>): number

Parameters

  • expression: any
  • args?: Array<any> optional

Returns

number

public setImmediate(expression: any, args?: Array<any>): number

Parameters

  • expression: any
  • args?: Array<any> optional

Returns

number

public setInterval(handler: any, timeout?: any, args?: Array<any>): number

Parameters

  • handler: any
  • timeout?: any optional
  • args?: Array<any> optional

Returns

number

public setTimeout(handler: any, timeout?: any, args?: Array<any>): number

Parameters

  • handler: any
  • timeout?: any optional
  • args?: Array<any> optional

Returns

number

public showHelp(url: string, helpArg?: any, features?: string)

Parameters

  • url: string
  • helpArg?: any optional
  • features?: string optional

public showModelessDialog(url?: string, argument?: any, options?: any): Window

Parameters

  • url?: string optional
  • argument?: any optional
  • options?: any optional

Returns

Window

public toStaticHTML(html: string): string

Parameters

  • html: string

Returns

string