<link href="stylesheet" type="text/css" href="main.css">
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="skeleton.js"></script>
环形统计图
<div id="dount"></div>
dount=Skeleton.dount({
id:"dount",
radius:60,
data:[
{ value: 20, name: "data1" },
{ value: 20, name: "data2" },
{ value: 20, name: "data3" },
{ value: 20, name: "data4" },
]
})
为组件添加水波纹效果
<button class="btn">Button</button>
Skeleton.ripple({
elem:".btn"//渲染的元素
})
环形时间选择组件
<div class="sk-timepicker"></div>
Skeleton.timepicker({
elem:".sk-timepicker"//渲染的元素
})
MIT