sunrise-cms/public/javascripts/lotView.ts

16 lines
387 B
TypeScript

import type { LOS } from '../../types/globalTypes.js'
declare const exports: Record<string, unknown>
;(() => {
const mapContainerElement: HTMLElement | null =
document.querySelector('#lot--map')
if (mapContainerElement !== null) {
;(exports.los as LOS).highlightMap(
mapContainerElement,
mapContainerElement.dataset.mapKey ?? '',
'success'
)
}
})()