ParentAppWindow class

Properties

Instance

Methods

addEventListener(string, (message: any) => void)
postMessage(any, (status: boolean, reason?: string) => void)

Property Details

Instance

static IAppWindow Instance

Property Value

@microsoft/teams-js.@microsoft.teams-js.IAppWindow

Method Details

addEventListener(string, (message: any) => void)

function addEventListener(type: string, listener: (message: any) => void)

Parameters

type

string

listener

(message: any) => void

postMessage(any, (status: boolean, reason?: string) => void)

function postMessage(message: any, onComplete?: (status: boolean, reason?: string) => void)

Parameters

message

any

onComplete

(status: boolean, reason?: string) => void