Skip to content

Commit

Permalink
Use CopyToClipboard directive instead of SelectOnFocus
Browse files Browse the repository at this point in the history
  • Loading branch information
sgiehl committed Sep 19, 2023
1 parent d71e232 commit e9333bd
Show file tree
Hide file tree
Showing 3 changed files with 54 additions and 55 deletions.
100 changes: 50 additions & 50 deletions vue/dist/TagManager.umd.js
Original file line number Diff line number Diff line change
Expand Up @@ -9460,103 +9460,103 @@ function TrackingCodePagevue_type_template_id_2173e522_render(_ctx, _cache, $pro
TrackingCodePagevue_type_script_lang_ts.render = TrackingCodePagevue_type_template_id_2173e522_render

/* harmony default export */ var TrackingCodePage = (TrackingCodePagevue_type_script_lang_ts);
// CONCATENATED MODULE: ./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js??ref--6!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingSPAPage.vue?vue&type=template&id=79c9465d
// CONCATENATED MODULE: ./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js??ref--6!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingSPAPage.vue?vue&type=template&id=0e829390

var TrackingSPAPagevue_type_template_id_79c9465d_hoisted_1 = {
var TrackingSPAPagevue_type_template_id_0e829390_hoisted_1 = {
class: "list-style-decimal"
};
var TrackingSPAPagevue_type_template_id_79c9465d_hoisted_2 = {
var TrackingSPAPagevue_type_template_id_0e829390_hoisted_2 = {
ref: "step1"
};
var TrackingSPAPagevue_type_template_id_79c9465d_hoisted_3 = ["innerHTML"];
var TrackingSPAPagevue_type_template_id_79c9465d_hoisted_4 = ["innerHTML"];
var TrackingSPAPagevue_type_template_id_79c9465d_hoisted_5 = ["innerHTML"];
var TrackingSPAPagevue_type_template_id_79c9465d_hoisted_6 = ["textContent"];
var TrackingSPAPagevue_type_template_id_79c9465d_hoisted_7 = ["innerHTML"];
var TrackingSPAPagevue_type_template_id_79c9465d_hoisted_8 = ["textContent"];
var TrackingSPAPagevue_type_template_id_79c9465d_hoisted_9 = ["innerHTML"];
var TrackingSPAPagevue_type_template_id_79c9465d_hoisted_10 = ["innerHTML"];
var TrackingSPAPagevue_type_template_id_79c9465d_hoisted_11 = ["innerHTML"];
var TrackingSPAPagevue_type_template_id_79c9465d_hoisted_12 = ["textContent"];
var TrackingSPAPagevue_type_template_id_79c9465d_hoisted_13 = {
var TrackingSPAPagevue_type_template_id_0e829390_hoisted_3 = ["innerHTML"];
var TrackingSPAPagevue_type_template_id_0e829390_hoisted_4 = ["innerHTML"];
var TrackingSPAPagevue_type_template_id_0e829390_hoisted_5 = ["innerHTML"];
var TrackingSPAPagevue_type_template_id_0e829390_hoisted_6 = ["textContent"];
var TrackingSPAPagevue_type_template_id_0e829390_hoisted_7 = ["innerHTML"];
var TrackingSPAPagevue_type_template_id_0e829390_hoisted_8 = ["textContent"];
var TrackingSPAPagevue_type_template_id_0e829390_hoisted_9 = ["innerHTML"];
var TrackingSPAPagevue_type_template_id_0e829390_hoisted_10 = ["innerHTML"];
var TrackingSPAPagevue_type_template_id_0e829390_hoisted_11 = ["innerHTML"];
var TrackingSPAPagevue_type_template_id_0e829390_hoisted_12 = ["textContent"];
var TrackingSPAPagevue_type_template_id_0e829390_hoisted_13 = {
style: {
"list-style": "lower-alpha",
"list-style-position": "inside"
}
};
var TrackingSPAPagevue_type_template_id_79c9465d_hoisted_14 = ["innerHTML"];
var TrackingSPAPagevue_type_template_id_79c9465d_hoisted_15 = ["innerHTML"];
var TrackingSPAPagevue_type_template_id_79c9465d_hoisted_16 = ["innerHTML"];
var TrackingSPAPagevue_type_template_id_79c9465d_hoisted_17 = ["textContent"];
var TrackingSPAPagevue_type_template_id_79c9465d_hoisted_18 = ["textContent"];
var TrackingSPAPagevue_type_template_id_79c9465d_hoisted_19 = ["innerHTML"];
var TrackingSPAPagevue_type_template_id_79c9465d_hoisted_20 = ["textContent"];
var TrackingSPAPagevue_type_template_id_79c9465d_hoisted_21 = ["innerHTML"];
var TrackingSPAPagevue_type_template_id_79c9465d_hoisted_22 = ["innerHTML"];
var TrackingSPAPagevue_type_template_id_79c9465d_hoisted_23 = ["textContent"];
function TrackingSPAPagevue_type_template_id_79c9465d_render(_ctx, _cache, $props, $setup, $data, $options) {
var TrackingSPAPagevue_type_template_id_0e829390_hoisted_14 = ["innerHTML"];
var TrackingSPAPagevue_type_template_id_0e829390_hoisted_15 = ["innerHTML"];
var TrackingSPAPagevue_type_template_id_0e829390_hoisted_16 = ["innerHTML"];
var TrackingSPAPagevue_type_template_id_0e829390_hoisted_17 = ["textContent"];
var TrackingSPAPagevue_type_template_id_0e829390_hoisted_18 = ["textContent"];
var TrackingSPAPagevue_type_template_id_0e829390_hoisted_19 = ["innerHTML"];
var TrackingSPAPagevue_type_template_id_0e829390_hoisted_20 = ["textContent"];
var TrackingSPAPagevue_type_template_id_0e829390_hoisted_21 = ["innerHTML"];
var TrackingSPAPagevue_type_template_id_0e829390_hoisted_22 = ["innerHTML"];
var TrackingSPAPagevue_type_template_id_0e829390_hoisted_23 = ["textContent"];
function TrackingSPAPagevue_type_template_id_0e829390_render(_ctx, _cache, $props, $setup, $data, $options) {
var _component_TrackingCodeCommon = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("TrackingCodeCommon");

var _directive_select_on_focus = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveDirective"])("select-on-focus");
var _directive_copy_to_clipboard = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveDirective"])("copy-to-clipboard");

return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("ol", TrackingSPAPagevue_type_template_id_79c9465d_hoisted_1, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("li", TrackingSPAPagevue_type_template_id_79c9465d_hoisted_2, [_ctx.showContainerRow ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("span", {
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("ol", TrackingSPAPagevue_type_template_id_0e829390_hoisted_1, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("li", TrackingSPAPagevue_type_template_id_0e829390_hoisted_2, [_ctx.showContainerRow ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("span", {
key: 0,
innerHTML: _ctx.$sanitize(_ctx.setupStep1)
}, null, 8, TrackingSPAPagevue_type_template_id_79c9465d_hoisted_3)) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_TrackingCodeCommon, {
}, null, 8, TrackingSPAPagevue_type_template_id_0e829390_hoisted_3)) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_TrackingCodeCommon, {
"show-container-row": _ctx.showContainerRow,
showBottom: false,
showDescription: false,
onFetchInstallInstructions: _ctx.fetchInstallInstructionsSPA,
ref: "trackingCodeCommon"
}, null, 8, ["show-container-row", "onFetchInstallInstructions"])], 512), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], _ctx.step1HasContent]]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("li", {
innerHTML: _ctx.$sanitize(_ctx.setupStep2)
}, null, 8, TrackingSPAPagevue_type_template_id_79c9465d_hoisted_4), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("li", {
}, null, 8, TrackingSPAPagevue_type_template_id_0e829390_hoisted_4), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("li", {
innerHTML: _ctx.$sanitize(_ctx.fetchFollowStep3)
}, null, 8, TrackingSPAPagevue_type_template_id_79c9465d_hoisted_5), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("li", {
}, null, 8, TrackingSPAPagevue_type_template_id_0e829390_hoisted_5), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("li", {
textContent: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.fetchClickX('TagManager_CreateNewTrigger'))
}, null, 8, TrackingSPAPagevue_type_template_id_79c9465d_hoisted_6), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("li", {
}, null, 8, TrackingSPAPagevue_type_template_id_0e829390_hoisted_6), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("li", {
innerHTML: _ctx.$sanitize(_ctx.fetchFollowStep5)
}, null, 8, TrackingSPAPagevue_type_template_id_79c9465d_hoisted_7), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("li", {
}, null, 8, TrackingSPAPagevue_type_template_id_0e829390_hoisted_7), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("li", {
textContent: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.fetchClickX('TagManager_CreateNewTrigger'))
}, null, 8, TrackingSPAPagevue_type_template_id_79c9465d_hoisted_8), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("li", {
}, null, 8, TrackingSPAPagevue_type_template_id_0e829390_hoisted_8), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("li", {
innerHTML: _ctx.$sanitize(_ctx.setupStep7)
}, null, 8, TrackingSPAPagevue_type_template_id_79c9465d_hoisted_9), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("li", {
}, null, 8, TrackingSPAPagevue_type_template_id_0e829390_hoisted_9), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("li", {
innerHTML: _ctx.$sanitize(_ctx.fetchFollowStep8)
}, null, 8, TrackingSPAPagevue_type_template_id_79c9465d_hoisted_10), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("li", {
}, null, 8, TrackingSPAPagevue_type_template_id_0e829390_hoisted_10), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("li", {
innerHTML: _ctx.$sanitize(_ctx.fetchFollowStep9)
}, null, 8, TrackingSPAPagevue_type_template_id_79c9465d_hoisted_11), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("li", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", {
}, null, 8, TrackingSPAPagevue_type_template_id_0e829390_hoisted_11), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("li", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", {
textContent: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.fetchFollowStep10)
}, null, 8, TrackingSPAPagevue_type_template_id_79c9465d_hoisted_12), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("ol", TrackingSPAPagevue_type_template_id_79c9465d_hoisted_13, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("li", {
}, null, 8, TrackingSPAPagevue_type_template_id_0e829390_hoisted_12), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("ol", TrackingSPAPagevue_type_template_id_0e829390_hoisted_13, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("li", {
innerHTML: _ctx.$sanitize(_ctx.fetchFollowStep10a)
}, null, 8, TrackingSPAPagevue_type_template_id_79c9465d_hoisted_14), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("li", {
}, null, 8, TrackingSPAPagevue_type_template_id_0e829390_hoisted_14), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("li", {
innerHTML: _ctx.$sanitize(_ctx.fetchFollowStep10b)
}, null, 8, TrackingSPAPagevue_type_template_id_79c9465d_hoisted_15)])]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("li", {
}, null, 8, TrackingSPAPagevue_type_template_id_0e829390_hoisted_15)])]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("li", {
innerHTML: _ctx.$sanitize(_ctx.fetchFollowStep11)
}, null, 8, TrackingSPAPagevue_type_template_id_79c9465d_hoisted_16), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("li", {
}, null, 8, TrackingSPAPagevue_type_template_id_0e829390_hoisted_16), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("li", {
textContent: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.fetchClickX('General_Update'))
}, null, 8, TrackingSPAPagevue_type_template_id_79c9465d_hoisted_17), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("li", {
}, null, 8, TrackingSPAPagevue_type_template_id_0e829390_hoisted_17), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("li", {
textContent: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.fetchFollowStep13)
}, null, 8, TrackingSPAPagevue_type_template_id_79c9465d_hoisted_18), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("li", {
}, null, 8, TrackingSPAPagevue_type_template_id_0e829390_hoisted_18), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("li", {
innerHTML: _ctx.$sanitize(_ctx.fetchFollowStep14)
}, null, 8, TrackingSPAPagevue_type_template_id_79c9465d_hoisted_19), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("li", {
}, null, 8, TrackingSPAPagevue_type_template_id_0e829390_hoisted_19), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("li", {
textContent: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.fetchFollowStep15)
}, null, 8, TrackingSPAPagevue_type_template_id_79c9465d_hoisted_20), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("li", null, [_ctx.jsFramework === 'react' ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("span", {
}, null, 8, TrackingSPAPagevue_type_template_id_0e829390_hoisted_20), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("li", null, [_ctx.jsFramework === 'react' ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("span", {
key: 0,
innerHTML: _ctx.$sanitize(_ctx.fetchFollowStep16React)
}, null, 8, TrackingSPAPagevue_type_template_id_79c9465d_hoisted_21)) : (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("span", {
}, null, 8, TrackingSPAPagevue_type_template_id_0e829390_hoisted_21)) : (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("span", {
key: 1,
innerHTML: _ctx.$sanitize(_ctx.fetchFollowStep16SPA)
}, null, 8, TrackingSPAPagevue_type_template_id_79c9465d_hoisted_22)), (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(true), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])(external_commonjs_vue_commonjs2_vue_root_Vue_["Fragment"], null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["renderList"])(_ctx.installInstructions, function (installInstruction, index) {
}, null, 8, TrackingSPAPagevue_type_template_id_0e829390_hoisted_22)), (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(true), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])(external_commonjs_vue_commonjs2_vue_root_Vue_["Fragment"], null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["renderList"])(_ctx.installInstructions, function (installInstruction, index) {
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div", {
key: index
}, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("pre", {
class: "codeblock",
textContent: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(installInstruction.embedCode),
ref: "codeblock"
}, null, 8, TrackingSPAPagevue_type_template_id_79c9465d_hoisted_23), [[_directive_select_on_focus, {}]])]);
}, null, 8, TrackingSPAPagevue_type_template_id_0e829390_hoisted_23), [[_directive_copy_to_clipboard, {}]])]);
}), 128))])]);
}
// CONCATENATED MODULE: ./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingSPAPage.vue?vue&type=template&id=79c9465d
// CONCATENATED MODULE: ./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingSPAPage.vue?vue&type=template&id=0e829390

// CONCATENATED MODULE: ./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-2!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/TagManager/vue/src/TagmanagerTrackingCode/TrackingSPAPage.vue?vue&type=script&lang=ts

Expand All @@ -9571,7 +9571,7 @@ function TrackingSPAPagevue_type_template_id_79c9465d_render(_ctx, _cache, $prop
TrackingCodeCommon: TrackingCodeCommon
},
directives: {
SelectOnFocus: external_CoreHome_["SelectOnFocus"]
CopyToClipboard: external_CoreHome_["CopyToClipboard"]
},
data: function data() {
return {
Expand Down Expand Up @@ -9691,7 +9691,7 @@ function TrackingSPAPagevue_type_template_id_79c9465d_render(_ctx, _cache, $prop



TrackingSPAPagevue_type_script_lang_ts.render = TrackingSPAPagevue_type_template_id_79c9465d_render
TrackingSPAPagevue_type_script_lang_ts.render = TrackingSPAPagevue_type_template_id_0e829390_render

/* harmony default export */ var TrackingSPAPage = (TrackingSPAPagevue_type_script_lang_ts);
// CONCATENATED MODULE: ./node_modules/@vue/cli-plugin-babel/node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js??ref--6!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/TagManager/vue/src/Debugging/Debugging.vue?vue&type=template&id=6e8e3aea
Expand Down
2 changes: 1 addition & 1 deletion vue/dist/TagManager.umd.min.js

Large diffs are not rendered by default.

7 changes: 3 additions & 4 deletions vue/src/TagmanagerTrackingCode/TrackingSPAPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
<pre
class="codeblock"
v-text="installInstruction.embedCode"
v-select-on-focus="{}"
v-copy-to-clipboard="{}"
ref="codeblock"
/>
</div>
Expand All @@ -57,8 +57,7 @@
<script lang="ts">
import { defineComponent, nextTick } from 'vue';
import {
AjaxHelper, MatomoUrl,
SelectOnFocus, translate,
AjaxHelper, CopyToClipboard, MatomoUrl, translate,
} from 'CoreHome';
import TrackingCodeCommon from './TrackingCodeCommon.vue';
import {
Expand All @@ -81,7 +80,7 @@ export default defineComponent({
TrackingCodeCommon,
},
directives: {
SelectOnFocus,
CopyToClipboard,
},
data(): TagmanagerTrackingSPAPageState {
return {
Expand Down

0 comments on commit e9333bd

Please sign in to comment.