Appearance
wiz-calendar
UI element for displaying month and day from calendar
Installation
Run following command in the terminal to install the module:
wiz install wiz-calendarLink
import wizCard from 'wiz-calendar';
Add this link directly to the layout (App.vue) or block (./common/blocks/ or ./common/blocks-library/):
export default {
components: {
wizCalendar
}
...Basic usage
Markup:
<wiz-calendar :month="$t('calendar_month')" :day="$t('calendar_day')" link="https://viseven.com/"></wiz-calendar>Localization:
<i18n>
{
"en": {
"calendar_month": "JAN",
"calendar_day": "25"
}
}
</i18n>Parameters
| Property | Type | Default | Description |
|---|---|---|---|
| month | String | "JAN" | string with text (e.g.:'month') or keypath to localized text ("$t('calendar_month')") |
| day | String | "25" | string with text (e.g.:'day') or keypath to localized text ("$t('calendar_day')") |
| link | String | "" | Defines link which is opened by clicking on image |