Skip to content

Latest commit

 

History

History
59 lines (47 loc) · 912 Bytes

readme.md

File metadata and controls

59 lines (47 loc) · 912 Bytes

Skeleton

依赖

<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>

Skeleton.dount

环形统计图

<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" },
	]
})    

Skeleton.ripple

为组件添加水波纹效果

<button class="btn">Button</button> 
Skeleton.ripple({
    elem:".btn"//渲染的元素     
})    

Skeleton.timepicker

环形时间选择组件

<div class="sk-timepicker"></div>
Skeleton.timepicker({
	elem:".sk-timepicker"//渲染的元素     
}) 

License

MIT