We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4590a58 commit ae81c67Copy full SHA for ae81c67
src/packages/drag/demo.vue
@@ -9,6 +9,9 @@
9
<nut-drag direction="x" :style="{ top: '200px', left: '8px' }">
10
<div class="touch-dom">只能在X轴拖动</div>
11
</nut-drag>
12
+ <nut-drag direction="y" :style="{ top: '200px', right: '8px' }">
13
+ <div class="touch-dom">只能在Y轴拖动</div>
14
+ </nut-drag>
15
<h4 :style="{ top: '250px' }">自动吸边</h4>
16
<nut-drag direction="x" :attract="true" :style="{ top: '300px', left: '8px' }">
17
<div class="touch-dom">拖动我</div>
0 commit comments