Skip to content

Commit 19a1bbd

Browse files
committed
feat: expose isDisabled method to month-year slot
1 parent a4b050b commit 19a1bbd

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

src/VueDatePicker/components/DatePicker/DpHeader.vue

+10-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,16 @@
44
<div class="dp__month_year_wrap">
55
<slot
66
name="month-year"
7-
v-bind="{ month, year, months, years, updateMonthYear, handleMonthYearChange, instance }"
7+
v-bind="{
8+
month,
9+
year,
10+
months,
11+
years,
12+
updateMonthYear,
13+
handleMonthYearChange,
14+
instance,
15+
isDisabled,
16+
}"
817
/>
918
</div>
1019
</template>

0 commit comments

Comments
 (0)