.c-calendar__header
.c-calendar__prev-year(
:class="{disabled: !isPreYearCanSelect}"
@click="prevYear"
)
c-icon(
type="feather"
valign="text-top"
name="chevrons-left"
)
a.c-calendar__prev-month(
:class="{disabled: !isPreMonthCanSelect}"
v-show="!monthsShow"
@click="prevMonth"
)
c-icon(
type="feather"
valign="text-top"
name="chevron-left"
)
span.c-calendar__year {{this.year}}
span.c-calendar__spacer(
v-show="!monthsShow"
) -
span.c-calendar__month(
@click="monthtableShow"
v-show="!monthsShow"
) {{fixZero(this.month + 1)}}
a.c-calendar__next-month(
:class="{disabled: !isNextMonthCanSelect}"
v-show="!monthsShow"
@click="nextMonth"
)
c-icon(
type="feather"
valign="text-top"
name="chevron-right"
)
a.c-calendar__next-year(
:class="{disabled: !isNextYearCanSelect}"
@click="nextYear"
)
c-icon(
type="feather"
valign="text-top"
name="chevrons-right"
)