Skip to content
On this page

movable-area

movable-view 的可移动区域。

Tips

  • movable-area 必须设置 width 和 height 属性

Example

vue
<template>
  <movable-area class="w-48 h-48 bg-gray-300">
    <movable-view class="bg-blue-400 w-12 h-12">😅</movable-view>
  </movable-area>
</template>