https://github.com/stavinli/super-calendar
日历-选择入住离开时间
https://github.com/stavinli/super-calendar
calendar
Last synced: about 1 year ago
JSON representation
日历-选择入住离开时间
- Host: GitHub
- URL: https://github.com/stavinli/super-calendar
- Owner: StavinLi
- License: mit
- Created: 2018-03-07T03:02:02.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-07-30T03:33:33.000Z (almost 8 years ago)
- Last Synced: 2025-02-28T09:22:36.782Z (over 1 year ago)
- Topics: calendar
- Language: JavaScript
- Size: 253 KB
- Stars: 1
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# super-calendar
日历-选择入住离开时间
### 效果预览
- [在线预览 https://stavinli.github.io/super-calendar/index.html](https://stavinli.github.io/super-calendar/index.html)
### 图片预览

### 使用说明
- 1.引入文件css
```
```
- 2.html内容
```
入住日期 — 离开日期
```
- 3.引入js及js方法调用
```
$(".calendar-box").superCalendar({
target: "#rent-time",
callback: function(date) {
console.log(date)
}
});
```
### API介绍
1. target 点击对象
2. callback 回调函数