Skip to content

Latest commit

 

History

History
20 lines (18 loc) · 542 Bytes

README.md

File metadata and controls

20 lines (18 loc) · 542 Bytes

Calendar

Step1:引入jquery和样式

<script type="text/javascript" src="https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js"></script>
<link rel="stylesheet" href="calender.css" />

Step2:创建id为miller-calendar的div标签, 并引入js文件

<div id="miller-calender"></div>
<script type="text/javascript" src="calender.js" ></script>

Step3:初始化控件

var dateList = ["2018-9-21", "2018-9-25", "2018-9-28"];
setDate(dateList);

效果图