1.1.2 • Published 6 years ago

jq-mobile-calendar v1.1.2

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

mobile calender

GitHub stars npm version GitHub issues GitHub license npm

A mobile calender plugin.

DEMO>>

demo-images

Be dependent on jQuery(Zepto) and Iscroll library.

API

How to use

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

<link href="./mobile-calendar/index.css" rel="stylesheet" type="text/css" />

<script src="./mobile-calendar/index.js"></script>
$(document).date();

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

Of course, in your HTML you should add <div id="datePlugin"></div>. 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

MIT

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago