1.0.8 • Published 7 years ago

vue2-mobile-calendar v1.0.8

Weekly downloads
29
License
MIT
Repository
github
Last release
7 years ago

vue-calendar

npm npm npm

没什么用的移动端日历,支持左右滑动,支持缩小显示周日历,自己看demo呗。

使用方式

# bash:
npm i vue2-mobile-calendar --save
// *.js:
import vueCalendar from 'vue2-mobile-calendar'

// *.vue:
components: {
  vueCalendar
}
<!-- html: -->
<vue-calendar></vue-calendar>

参数

不支持低版本浏览器,懒得适配

highlight: {
  type: String,
  default: '#000'
},
selectcolor: {
  type: String,
  default: '#000'
},
weekstart: {
  type: Number,
  default: 7
},
selectdate: {
  type: [Date, String],
  default () {
    return new Date()
  }
},
callback: {
  type: Function,
  default () {
    return () => {}
  }
},
open: {
  type: Boolean,
  default: false
}

Build Setup

Requires Node.js 7+

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

License

MIT

1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.0

7 years ago