aboutsummaryrefslogtreecommitdiff
path: root/static/popup.ts
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2021-11-08 19:38:42 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2021-11-08 19:38:42 +0100
commitae3142da0cf31696f4ab4ad258c5483b7c5490b6 (patch)
treebf3f2134deadad7d749f262b45b87cfeaf253ee6 /static/popup.ts
parentAll ComponentVEvent requires uid. (diff)
downloadcalp-ae3142da0cf31696f4ab4ad258c5483b7c5490b6.tar.gz
calp-ae3142da0cf31696f4ab4ad258c5483b7c5490b6.tar.xz
Major work on event creation.
Diffstat (limited to '')
-rw-r--r--static/popup.ts6
1 files changed, 4 insertions, 2 deletions
diff --git a/static/popup.ts b/static/popup.ts
index 90cb9e1c..00638089 100644
--- a/static/popup.ts
+++ b/static/popup.ts
@@ -1,8 +1,10 @@
import { find_block, find_popup, PopupElement } from './globals'
-export { event_from_popup, popup_from_event, close_popup,
- close_all_popups, /* VIEW, */open_popup, toggle_popup, activePopup
+export {
+ event_from_popup, popup_from_event, close_popup,
+ close_all_popups, /* VIEW, */open_popup, toggle_popup, activePopup
}
+/* TODO rewrite most of this */
/* event component => coresponding popup component */
function event_from_popup(popup: Element): HTMLElement | null {