Add more events for sharing and refactor I/O, dialogs (#2443)

This commit is contained in:
Lipis
2020-12-03 17:03:02 +02:00
committed by GitHub
parent c43109a230
commit 66e5b18e4e
10 changed files with 87 additions and 75 deletions

View File

@@ -4,6 +4,9 @@ export const EVENT_CHANGE = "change";
export const EVENT_SHAPE = "shape";
export const EVENT_LAYER = "layer";
export const EVENT_ALIGN = "align";
export const EVENT_SHARE = "share";
export const EVENT_IO = "io";
export const EVENT_DIALOG = "dialog";
export const trackEvent = window.gtag
? (category: string, name: string, label?: string, value?: number) => {