Skip to content

日历组件 - IkFullCalendar

props

props类型说明默认值
modelValueArray绑定日程数组[]
optionsObject属性,具体查看 https://fullcalendar.io/
removableBoolean是否可删除false
tooltipFieldNamestring描述'remark'

事件

名称说明
update:modelValue更新日程数据

示例代码

vue
<script lang="ts" setup>
import { IkFullCalendar } from 'iking-web-ui'
const events = ref<any[]>([])
</script>

<template>
  <IkPageMain style="padding: 16px; box-sizing: border-box">
    <IkFullCalendar v-model="events" />
  </IkPageMain>
</template>

<style scoped lang="scss">
</style>