physics_draggable
Create draggable UI elements with physics-based inertia and throw properties. Control drag axes, bounds, and enable realistic motion.
Instructions
拖拽交互动画 (惯性功能需要ThrowPropsPlugin 🔒)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | x,y | |
| bounds | No | 边界限制选择器 | |
| inertia | No | 启用惯性 | |
| selector | Yes | 可拖拽元素选择器 | |
| throwProps | No | 启用抛掷属性 |