更新时间:2021-03-05 00:32:12
调用所需文件
<script src="https://www.jq22.com/jquery/jquery-1.10.2.js"></script> <script src="./Circle/Circle.js" type="text/javascript" charset="utf-8"></script>
HTML:
<canvas id="circle1" width="80" height="80" data-value="40" data-textSize="12" data-size="30" data-lineWidth="10"></canvas>
JS:
$(selector).Circle({parameter})