Skip to contentOpen History to see the last commit
modelPickerVisibility.ts
8 lines241 Bytes
1const MODEL_PICKER_CONTENT_SELECTOR = "[data-model-picker-content]"; 3export function isModelPickerOpen(): boolean { 5 typeof document !== "undefined" && 6 document.querySelector(MODEL_PICKER_CONTENT_SELECTOR) !== null