Skip to main content

AccentColorPickerRuntime

FitFileViewer - API Documentation v30.0.1


FitFileViewer - API Documentation / ui/modals/accentColorPickerRuntime / AccentColorPickerRuntime

Interface: AccentColorPickerRuntime

Defined in: ui/modals/accentColorPickerRuntime.ts:24

Properties​

addDocumentKeydownListener​

addDocumentKeydownListener: (listener: (event: Readonly<KeyboardEvent>) => void, options: Readonly<AddEventListenerOptions>) => void

Defined in: ui/modals/accentColorPickerRuntime.ts:25

Parameters​

listener​

(event: Readonly<KeyboardEvent>) => void

options​

Readonly<AddEventListenerOptions>

Returns​

void


appendModal​

appendModal: (modal: HTMLElement) => void

Defined in: ui/modals/accentColorPickerRuntime.ts:29

Parameters​

HTMLElement

Returns​

void


appendStyle​

appendStyle: (style: HTMLStyleElement) => void

Defined in: ui/modals/accentColorPickerRuntime.ts:30

Parameters​

style​

HTMLStyleElement

Returns​

void


createAbortController​

createAbortController: () => AbortController

Defined in: ui/modals/accentColorPickerRuntime.ts:31

Returns​

AbortController


createElement​

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

Defined in: ui/modals/accentColorPickerRuntime.ts:32

Type Parameters​

K​

K extends keyof HTMLElementTagNameMap

Parameters​

tagName​

K

Returns​

HTMLElementTagNameMap[K]


createStyleElement​

createStyleElement: () => HTMLStyleElement

Defined in: ui/modals/accentColorPickerRuntime.ts:35

Returns​

HTMLStyleElement


createTextNode​

createTextNode: (data: string) => Text

Defined in: ui/modals/accentColorPickerRuntime.ts:36

Parameters​

data​

string

Returns​

Text


getActiveElement​

getActiveElement: () => HTMLElement | undefined

Defined in: ui/modals/accentColorPickerRuntime.ts:37

Returns​

HTMLElement | undefined


getElement​

getElement: <TElement>(selector: string) => TElement | null

Defined in: ui/modals/accentColorPickerRuntime.ts:38

Type Parameters​

TElement​

TElement extends Element = Element

Parameters​

selector​

string

Returns​

TElement | null


getElements​

getElements: <TElement>(selector: string) => TElement[]

Defined in: ui/modals/accentColorPickerRuntime.ts:41

Type Parameters​

TElement​

TElement extends Element = Element

Parameters​

selector​

string

Returns​

TElement[]


getModalElement​

getModalElement: () => HTMLElement | null

Defined in: ui/modals/accentColorPickerRuntime.ts:44

Returns​

HTMLElement | null


hasStyleElement​

hasStyleElement: () => boolean

Defined in: ui/modals/accentColorPickerRuntime.ts:45

Returns​

boolean


isHTMLButtonElement​

isHTMLButtonElement: (value: unknown) => value is HTMLButtonElement

Defined in: ui/modals/accentColorPickerRuntime.ts:46

Parameters​

value​

unknown

Returns​

value is HTMLButtonElement


isHTMLElement​

isHTMLElement: (value: unknown) => value is HTMLElement

Defined in: ui/modals/accentColorPickerRuntime.ts:47

Parameters​

value​

unknown

Returns​

value is HTMLElement


isHTMLInputElement​

isHTMLInputElement: (value: unknown) => value is HTMLInputElement

Defined in: ui/modals/accentColorPickerRuntime.ts:48

Parameters​

value​

unknown

Returns​

value is HTMLInputElement