Skip to content

Commit 1122bf1

Browse files
committed
feat: Expose menu actions to dp-input slot (resolves #673)
1 parent fba610d commit 1122bf1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/VueDatePicker/components/DatepickerInput.vue

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@
1414
:on-blur="handleBlur"
1515
:on-keypress="handleKeyPress"
1616
:on-paste="handlePaste"
17+
:open-menu="() => $emit('open')"
18+
:close-menu="() => $emit('close')"
19+
:toggle-menu="() => $emit('toggle')"
1720
/>
1821
<input
1922
v-if="!$slots['dp-input']"

0 commit comments

Comments
 (0)