Skip to main content

Function: getElementByIdFlexibleList()

function getElementByIdFlexibleList(
doc: FlexibleLookupRoot | null | undefined,
ids: string | string[],
runtime?: ElementIdUtilsRuntime
): HTMLElement | null;

Defined in: utils/ui/dom/elementIdUtils.ts:89

Resolve the first matching element from a list of IDs or simple ID selectors.

Parameters​

doc​

| FlexibleLookupRoot | null | undefined

ids​

string | string[]

runtime?​

ElementIdUtilsRuntime = ...

Returns​

| HTMLElement | null