QCalendar
v5.0.0-rc.0
QCalendar Transitions

Transitions allow your calendar component to be animated when the view changes (ie: next/prev day, week, month, etc). It is turned on using the animated property and works in conjunction with the transiton-prev and transiton-next properties.

To use transitions, you must include the QCalendarTransitions.scss or QCalendarTransitions.css, depending on your needs.

In your sass file:

@import '@quasar/quasar-ui-qcalendar/src/QCalendarTransitions.scss'

In your Vue file (in a script section):

import '@quasar/quasar-ui-qcalendar/QCalendarTransitions.css'

Transitions

Transitions are a way to make your calendar come alive for your end-user. When a calendar changes to a previous or next week/month, instead of just instantly displaying it, we can use the animated property to turn on transitions.

PropertyTypeExample
animatedBoolean

Then you can use the transiton-prev and transiton-next properties to change the default behavior, which is slide-right and slide-left, respectively.

PropertyTypeExample
transiton-prevStringslide-right (default)
transiton-nextStringslide-left (default)

Transitions types

QCalendar supports the following transition types:

RollSlideJumpMisc
roll-rightslide-rightjump-rightfade
roll-leftslide-leftjump-leftscale
roll-upslide-upjump-uprotate
roll-downslide-downjump-downspin
flip