---
nav: default
---
### Calendar
<img width="100" src="http://qr.topscan.com/api.php?text=demo%2F%23%2Fcomponent%2Fcalendar"/>
<a href="demo/#/component/calendar" target="_blank" style="font-size:12px;color:#888;">demo 原始链接：demo/#/component/calendar</a>


---
#### 演示
<div style="width:377px;height:667px;display:inline-block;border:1px dashed #ececec;border-radius:5px;overflow:hidden;">
<iframe src="demo/#/component/calendar" width="375" height="667" border="0" frameborder="0"></iframe>
</div>
#### demo 代码

``` html
<template>
  <div>
    <group title="default">
      <calendar
        v-model="demo1"
        title="Calendar"
        disable-past
      />
    </group>
    <group title="set value as TODAY">
      <calendar
        v-model="demo2"
        title="Calendar"
        disable-past
      />
    </group>
    <group title="disable future">
      <calendar
        v-model="demo3"
        title="Calendar"
        disable-future
      />
    </group>
  </div>
</template>

<script>
import { Group, Calendar } from '../components/_index'

export default {
  components: {
    Calendar,
    Group
  },
  data () {
    return {
      demo1: '',
      demo2: 'TODAY',
      demo3: 'TODAY'
    }
  }
}
</script>

```

#### Github Issue