diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-08-18 13:50:51 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-08-18 13:50:51 +0300 |
commit | db384e6b19af03b4c3c82a5760d83a3fd79f7982 (patch) | |
tree | 34beaef37df5f47ccbcf5729d7583aae093cffa0 /app/assets/javascripts/vue_shared/components/help_popover.vue | |
parent | 54fd7b1bad233e3944434da91d257fa7f63c3996 (diff) |
Add latest changes from gitlab-org/gitlab@16-3-stable-eev16.3.0-rc42
Diffstat (limited to 'app/assets/javascripts/vue_shared/components/help_popover.vue')
-rw-r--r-- | app/assets/javascripts/vue_shared/components/help_popover.vue | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/app/assets/javascripts/vue_shared/components/help_popover.vue b/app/assets/javascripts/vue_shared/components/help_popover.vue index 92d468cf970..0e82ef3aa65 100644 --- a/app/assets/javascripts/vue_shared/components/help_popover.vue +++ b/app/assets/javascripts/vue_shared/components/help_popover.vue @@ -26,6 +26,11 @@ export default { required: false, default: 'question-o', }, + triggerClass: { + type: [String, Array, Object], + required: false, + default: '', + }, }, methods: { targetFn() { @@ -36,7 +41,13 @@ export default { </script> <template> <span> - <gl-button ref="popoverTrigger" variant="link" :icon="icon" :aria-label="__('Help')" /> + <gl-button + ref="popoverTrigger" + :class="triggerClass" + variant="link" + :icon="icon" + :aria-label="__('Help')" + /> <gl-popover :target="targetFn" v-bind="options"> <template v-if="options.title" #title> <span v-safe-html="options.title"></span> |