Closed tucheng0552 closed 5 years ago
You're using the wrong syntax:
<airbnb-style-datepicker
:trigger-element-id="'datepicker-trigger'"
:mode="'single'"
:date-one="dateOne"
@date-one-selected="val => { dateOne = val }"
>
<template slot="next-month-icon">Price: 100$</template>
</airbnb-style-datepicker>
You'll find the names of the slots on: https://mikaeledebro.gitbooks.io/vue-airbnb-style-datepicker/INSTALLATION.html#props-and-events
<div><img src="~/assets/image/icon/global_icon_swiper_arrow_left.png" alt="" slot="previous-month-icon"><AirbnbStyleDatepicker .../></div>