From 7465f37e72de82212274cc9baf585b4332a106ab Mon Sep 17 00:00:00 2001 From: Jacob Bare Date: Tue, 2 Mar 2021 14:23:51 -0600 Subject: [PATCH] Create Leaders click event emitter --- .../browser/click-emitter.vue | 50 +++++++++++++++++++ .../marko-web-leaders/browser/gtm-tracker.vue | 2 +- packages/marko-web-leaders/browser/index.js | 4 ++ .../components/click-emitter.marko | 1 + .../marko-web-leaders/components/marko.json | 3 ++ packages/marko-web-leaders/package.json | 1 + .../marko-web-leaders/utils/event-attrs.js | 8 +++ .../utils/event-link-attrs.js | 16 ++++++ yarn.lock | 5 ++ 9 files changed, 89 insertions(+), 1 deletion(-) create mode 100644 packages/marko-web-leaders/browser/click-emitter.vue create mode 100644 packages/marko-web-leaders/components/click-emitter.marko create mode 100644 packages/marko-web-leaders/utils/event-attrs.js create mode 100644 packages/marko-web-leaders/utils/event-link-attrs.js diff --git a/packages/marko-web-leaders/browser/click-emitter.vue b/packages/marko-web-leaders/browser/click-emitter.vue new file mode 100644 index 000000000..553c4b69b --- /dev/null +++ b/packages/marko-web-leaders/browser/click-emitter.vue @@ -0,0 +1,50 @@ + + + diff --git a/packages/marko-web-leaders/browser/gtm-tracker.vue b/packages/marko-web-leaders/browser/gtm-tracker.vue index 2a953106e..45d24a551 100644 --- a/packages/marko-web-leaders/browser/gtm-tracker.vue +++ b/packages/marko-web-leaders/browser/gtm-tracker.vue @@ -1,5 +1,5 @@