Skip to contentOpen History to see the last commit
modelPickerVisibility.ts
7 lines244 Bytes
1import { queryShownElement } from "./lib/shownElement"; 3const MODEL_PICKER_CONTENT_SELECTOR = "[data-model-picker-content]"; 5export function isModelPickerOpen(): boolean { 6 return queryShownElement(MODEL_PICKER_CONTENT_SELECTOR) !== null;