Skip to content

Hancoson/mobile-calendar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published