- 基于vue的可拖动的悬浮球,自动贴边
- 支持属性 :value 事件 @click 插槽 value
- demo:
<drag-ball :value="message" @click="alert('悬浮球事件')"><div slot="value">悬浮球!</div></drag-ball>
- npm i vue-drag-ball
- import dragBall from 'vue-drag-ball'
- Vue.use(dragBall)
forked from vencent2017/vue-drag-ball
-
Notifications
You must be signed in to change notification settings - Fork 0
WestonSeyler/vue-drag-ball
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
基于vue的可拖动的悬浮球,自动贴边
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- Vue 95.9%
- JavaScript 4.1%