UNPKG

@expofp/floorplan

Version:

Interactive floor plan library for expos and events

2 lines (1 loc) • 257 B
import{eventScopedCache as o}from"../../../../tools/event-scoped-cache.js";const t=o();export function registerLayerImages(e,r){return t().set(e,r),()=>{t().get(e)===r&&t().delete(e)}}export function invokeLayerImages(){return[...t().values()].map(e=>e())}