Git Product home page Git Product logo

libin1991 / vue-floating Goto Github PK

View Code? Open in Web Editor NEW

This project forked from daughterrui/vue-floating

0.0 0.0 0.0 128 KB

基于vue的可知乎拖拽浮窗球,支持动画回弹,在页面的可视区域拖拽,一个基于vue的浮窗组件,可在屏幕内自由拖拽,拖拽后的位置即可不变,也可在移动过程中手指释放浮窗横向贴边

Home Page: https://juejin.im/post/5d6a2add6fb9a06afd661c0d

License: MIT License

JavaScript 79.09% Vue 17.61% HTML 3.30%

vue-floating's Introduction

vue-floating

一个基于vue的浮窗组件,可在屏幕内自由拖拽,拖拽后的位置即可不变,也可在移动过程中手指释放浮窗横向贴边。

Use Setup

npm i vue-floating -S

Example

demo

  1. 移动过程中手指释放浮窗横向贴边:

移动过程中手指释放浮窗横向贴边

  1. 拖拽后的位置不变

拖拽后位置不变

Use in SPA

examples目录里面有demo用法,请自行下载查看

Attributes

查看api文档

vue-floating's People

Contributors

daughterrui avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.