Skip to content

PopupToken

This is the data struct that gets passed to the showPopup signal

Implements

Constructors

new PopupToken()

new PopupToken(id, callback?, backdrop?, keyboard?, data?): PopupToken

Create a new PopupToken Alternatively, specify "static" for a backdrop which doesn’t close the popup on click.

Parameters

id: string

callback?

backdrop?: boolean | "static"= true

keyboard?: boolean= true

data?: any

Returns

PopupToken

Source

src/popup/PopupToken.ts:25

Properties

backdrop

readonly backdrop: boolean | "static" = true

Implementation of

IPopupToken.backdrop

Source

src/popup/PopupToken.ts:28


callback()?

optional readonly callback: (…pParams) => void

Parameters

• …pParams: any[]

Returns

void

Implementation of

IPopupToken.callback

Source

src/popup/PopupToken.ts:27


data?

optional readonly data: any

Implementation of

IPopupToken.data

Source

src/popup/PopupToken.ts:30


id

readonly id: string

Implementation of

IPopupToken.id

Source

src/popup/PopupToken.ts:26


keyboard

readonly keyboard: boolean = true

Implementation of

IPopupToken.keyboard

Source

src/popup/PopupToken.ts:29