An open API service indexing awesome lists of open source software.

https://github.com/hancoson/mobile-calendar

:calendar:A mobile calender plugin.(jQuery手机移动端日历日期选择)
https://github.com/hancoson/mobile-calendar

javascript

Last synced: 10 months ago
JSON representation

:calendar:A mobile calender plugin.(jQuery手机移动端日历日期选择)

Awesome Lists containing this project

README

          

# mobile calender

[![GitHub stars](https://img.shields.io/github/stars/Hancoson/mobile-calendar.svg)](https://github.com/Hancoson/mobile-calendar/stargazers)
[![npm version](https://img.shields.io/npm/v/jq-mobile-calendar.svg)](https://www.npmjs.com/package/jq-mobile-calendar)
[![GitHub issues](https://img.shields.io/github/issues/Hancoson/mobile-calendar.svg)](https://github.com/Hancoson/mobile-calendar/issues)
[![GitHub license](https://img.shields.io/github/license/Hancoson/mobile-calendar.svg)](https://github.com/Hancoson/mobile-calendar/blob/master/LICENSE)
[![npm](https://img.shields.io/npm/dt/jq-mobile-calendar.svg)](https://www.npmjs.com/package/jq-mobile-calendar)

> A mobile calender plugin.

> [DEMO>>](http://hancoson.github.io/mobile-calendar/test/index.html)

![demo-images](http://7xtxh3.com1.z0.glb.clouddn.com/github/Jietu20171230-212811@2x.jpg
)

> _Be dependent on `jQuery(Zepto)` and `Iscroll` library._

## API

### How to use

Download `mobile-calendar` folder and include it in your HTML document :

```js

```

```js
$(document).date();

//or
$(document).date({
theme:"date",
fromat: 'yyyy/mm/dd'
});
```

Of course, in your HTML you should add `

`. Or you can refer to my demo: `./test/index.html`

### Parameters
- `theme`:default `data` , only show date;`datetime` show date and time.
- `fromat`:Style . default `yyyy/mm/dd` and `yyyy/mm/dd hh:ii`. Example:
- `yyyy-mm-dd` and `yyyy-mm-dd hh:ii`
- `yyyy年mm月dd日` and `yyyy年mm月dd日 hh时ii分`

## Authors

[Hancoson](https://github.com/Hancoson)

[MIT](https://github.com/Hancoson/mobile-calendar/blob/master/LICENSE)