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β
modalβ
Returnsβ
void
appendStyleβ
appendStyle: (style: HTMLStyleElement) => void;
Defined in: ui/modals/accentColorPickerRuntime.ts:30
Parametersβ
styleβ
Returnsβ
void
createAbortControllerβ
createAbortController: () => AbortController;
Defined in: ui/modals/accentColorPickerRuntime.ts:31
Returnsβ
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β
createTextNodeβ
createTextNode: (data: string) => Text;
Defined in: ui/modals/accentColorPickerRuntime.ts:36
Parametersβ
dataβ
string
Returnsβ
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