querySelectorByIdFlexible
FitFileViewer - API Documentation v29.9.0
FitFileViewer - API Documentation / utils/ui/dom/elementIdUtils / querySelectorByIdFlexible
Function: querySelectorByIdFlexible()
querySelectorByIdFlexible(
doc:Document|null|undefined,selector:string):HTMLElement|null
Defined in: utils/ui/dom/elementIdUtils.js:85
Query selector helper that supports alternate ID spellings when the selector is a simple ID (e.g., "#content_chart").
Parametersβ
docβ
Document | null | undefined
selectorβ
string
Returnsβ
HTMLElement | null