Score
0
7 Unstar Star 18 Fork 4

lianglongqun / JSRulerJavaScriptMIT

Create your Gitee Account
Explore and code with more than 5 million developers,Free private repositories !:)
Sign up
Ruler用来在网页中显示标尺。一般用于开发需要进行页面对齐的工具,例如photoshop,自定义表单设计器等。 包括的功能有:顶部和左侧显示标尺,可以拖动生成标尺线。 spread retract

Clone or download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.md

JSRuler介绍

JSRuler采用javascript实现,用来在网页中显示标尺。 JSRuler运行效果图

JSRuler依赖

JSRuler依赖jquery,jquery.event.drag和jquery.event.drop

JSRuler使用

引入文件

<link rel="stylesheet" href="../src/ruler.css" />
<script src="../src/ruler.js"></script>

代码示例

<script type="text/javascript">
    new Ruler().wrap('rulerInner');
</script>

Comments ( 0 )

Sign in for post a comment

JavaScript
1
https://gitee.com/jscode/JSRuler.git
git@gitee.com:jscode/JSRuler.git
jscode
JSRuler
JSRuler
master

Search

131423 f1aaba0b 1899542 094922 1c74bed3 1899542