Skip to content

IPopup

Defined in: ui/Popup.ts:11

Interface for Popup

Extends

Type Parameters

T = any

Properties

app

app: IApplication

Defined in: display/Container.ts:37

Inherited from

IContainer.app


backing?

optional backing: Container

Defined in: ui/Popup.ts:15


config

config: PopupConfig<T>

Defined in: ui/Popup.ts:13


data

data: T

Defined in: ui/Popup.ts:18


firstFocusableEntity?

optional firstFocusableEntity: IFocusable

Defined in: ui/Popup.ts:17


id

readonly id: string | number

Defined in: ui/Popup.ts:12


isShowing

isShowing: boolean

Defined in: ui/Popup.ts:16


onDestroy

onDestroy: Signal<() => void>

Defined in: display/Container.ts:39

Inherited from

IContainer.onDestroy


view

view: Container

Defined in: ui/Popup.ts:14

Methods

addColoredBackground()

addColoredBackground(colorOrConfig?, alpha?): Sprite

Defined in: display/Container.ts:49

Parameters

colorOrConfig?

number | Partial<BackgroundConfig>

alpha?

number

Returns

Sprite

Inherited from

IContainer.addColoredBackground


added()

added(): void | Promise<void>

Defined in: display/Container.ts:43

Returns

void | Promise<void>

Inherited from

IContainer.added


afterShow()

afterShow(): void

Defined in: ui/Popup.ts:26

Returns

void


beforeHide()

beforeHide(): void

Defined in: ui/Popup.ts:28

Returns

void


close()

close(): void

Defined in: ui/Popup.ts:20

Returns

void


destroy()

destroy(options?): void

Defined in: display/Container.ts:41

Parameters

options?

DestroyOptions

Returns

void

Inherited from

IContainer.destroy


end()

end(): void

Defined in: ui/Popup.ts:34

Returns

void


hide()

hide(): void | Promise<any>

Defined in: ui/Popup.ts:30

Returns

void | Promise<any>


initialize()

initialize(): void

Defined in: ui/Popup.ts:22

Returns

void


resize()

resize(size?): void

Defined in: display/Container.ts:45

Parameters

size?

Size

Returns

void

Inherited from

IContainer.resize


show()

show(): void | Promise<any>

Defined in: ui/Popup.ts:24

Returns

void | Promise<any>


start()

start(): void | Promise<any>

Defined in: ui/Popup.ts:32

Returns

void | Promise<any>


update()

update(ticker?): void

Defined in: display/Container.ts:47

Parameters

ticker?

number | Ticker

Returns

void

Inherited from

IContainer.update