jq-mobile-calendar

1.1.2 • Public • Published

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

Package Sidebar

Install

npm i jq-mobile-calendar

Weekly Downloads

2

Version

1.1.2

License

MIT

Unpacked Size

332 kB

Total Files

11

Last publish

Collaborators

  • hancoson