Skip to main content

Interface: OpenPowerEstimationSettingsModalRuntime

Defined in: utils/ui/modals/openPowerEstimationSettingsModalRuntime.ts:21

Properties​

addDocumentKeydownListener​

readonly addDocumentKeydownListener: (listener: PowerEstimationSettingsModalKeydownListener, options: Readonly<AddEventListenerOptions>) => void;

Defined in: utils/ui/modals/openPowerEstimationSettingsModalRuntime.ts:22

Parameters​

listener​

PowerEstimationSettingsModalKeydownListener

options​

Readonly<AddEventListenerOptions>

Returns​

void


appendToBody​

readonly appendToBody: (element: Element) => void;

Defined in: utils/ui/modals/openPowerEstimationSettingsModalRuntime.ts:26

Parameters​

element​

Element

Returns​

void


bodyContains​

readonly bodyContains: (element: Element) => boolean;

Defined in: utils/ui/modals/openPowerEstimationSettingsModalRuntime.ts:27

Parameters​

element​

Element

Returns​

boolean


createAbortController​

readonly createAbortController: () => AbortController;

Defined in: utils/ui/modals/openPowerEstimationSettingsModalRuntime.ts:28

Returns​

AbortController


createElement​

readonly createElement: <K>(tagName: K) => HTMLElementTagNameMap[K];

Defined in: utils/ui/modals/openPowerEstimationSettingsModalRuntime.ts:29

Type Parameters​

K​

K extends keyof HTMLElementTagNameMap

Parameters​

tagName​

K

Returns​

HTMLElementTagNameMap[K]