Commit 94780eb3 authored by Fatih Acet's avatar Fatih Acet

Merge branch '11707-add-copy-to-clipboard-cursed-backport' into 'master'

Add Copy to Clipboard CE Backport

See merge request gitlab-org/gitlab-ce!29906
parents c8c03f1d df80cff1
...@@ -26,6 +26,11 @@ export default { ...@@ -26,6 +26,11 @@ export default {
required: false, required: false,
default: '', default: '',
}, },
cssClasses: {
type: String,
required: false,
default: '',
},
modalId: { modalId: {
type: String, type: String,
required: false, required: false,
...@@ -110,6 +115,7 @@ export default { ...@@ -110,6 +115,7 @@ export default {
<template> <template>
<gl-button <gl-button
v-gl-tooltip="{ placement: tooltipPlacement, container: tooltipContainer }" v-gl-tooltip="{ placement: tooltipPlacement, container: tooltipContainer }"
:class="cssClasses"
:data-clipboard-target="target" :data-clipboard-target="target"
:data-clipboard-text="text" :data-clipboard-text="text"
:title="title" :title="title"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment