Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 57f35ce

Browse filesBrowse files
committed
feat(CDropdown): emit event on split dropdown button click - close coreui#134 close coreui#135 - thanks @rabrowne85
1 parent 04ec06d commit 57f35ce
Copy full SHA for 57f35ce

File tree

1 file changed

+3
-3
lines changed
Filter options

1 file changed

+3
-3
lines changed

‎src/components/dropdown/CDropdown.vue

Copy file name to clipboardExpand all lines: src/components/dropdown/CDropdown.vue
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<slot name="toggler">
99
<component
1010
:is="togglerTag"
11-
v-on="{ click: splittedToggler ? splitButtonPress : toggle }"
11+
v-on="{ click: splittedToggler ? splitButtonClick : toggle }"
1212
:class="computedTogglerClasses"
1313
v-bind="splittedToggler ? '' : togglerAttrs"
1414
>
@@ -120,9 +120,9 @@ export default {
120120
this.visible = false
121121
},
122122
123-
splitButtonPress () {
123+
splitButtonClick () {
124124
this.visible = false
125-
this.$emit('splitButtonPress')
125+
this.$emit('click')
126126
},
127127
128128
toggle (e) {

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.