Skip to content

Commit

Permalink
feat(#93): add disabled prop to popover
Browse files Browse the repository at this point in the history
  • Loading branch information
Decipher committed Sep 16, 2024
1 parent e5482a7 commit c74288c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/components/Popover.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
<a
:class="`ct-link ${themeClass} ct-popover__link`"
:data-collapsible-trigger="true"
:disabled="disabled"
@click="$emit('trigger')"
>
<slot name="trigger">
Expand Down Expand Up @@ -39,6 +40,10 @@ export default {
mixins: [ThemeMixin],
props: {
disabled: {
type: Boolean,
default: false
},
group: {
type: String,
default: undefined
Expand Down

0 comments on commit c74288c

Please sign in to comment.