Coder Social home page Coder Social logo

drag-play's Introduction

欢迎使用Drag-Play(Demo),您可以进行简单的组件拼接,进行结果的演算。

licenses size release download

项目地址

https://github.com/ycmbcd/Drag-Play/

演示地址(Demo)

https://www.ycmbcd.com/drag-play/

下载地址

https://github.com/ycmbcd/Drag-Play/releases/

界面预览

IMAGE

项目基于

Drag-Play 基于以下类库开发:
jQuery v3.4.1
BootStrap v3.3.7
Font Awesome v4.7.0

第三方插件

本 Demo 未采用第三方功能插件,以下功能均为自己编写:
1、拖拽
2、参考线
3、吸附贴合
4、逐步展示

使用说明

1、从工具栏中选择组件拖入右侧工作区。

IMAGE

2、将一个组件贴近另一个组件下方,可以拼合成一个组。

IMAGE

3、点击组上悬浮工具中的运行按钮,演示效果将在左侧演示区逐步展示出来。

IMAGE IMAGE IMAGE IMAGE

4、将组件/组拖到工作区边缘可以删除该组件/组。

IMAGE

5、点击使用帮助,弹出帮助模态窗。

IMAGE

6、警示框。

IMAGE

7、响应式(该功能是基于鼠标动作实现,移动端只限布局展示)

IMAGE

目录结构 & 文件说明

/index.html ................. 入口文件
/images ................. 资源图片
/css/ ................. 层叠样式表文件夹
/css/style.css ................. 层叠样式表
/js/ ................. 自定义 JavaScript 文件夹
/js/drag.js ................. 拖拽功能 Js 文件
/js/common.js ................. 组拆分合并功能 Js 文件
/js/line.js ................. 参考线功能 Js 文件
/js/tool_make.js ................. 演示功能 Js 文件
/lib/ ................. 依赖、第三方类库文件夹
/lib/bootstrap/ .................. BootStrap 文件夹
/lib/jquery/ ................. jQuery 文件夹
/lib/font-awesome/ ................. font-awesome 文件夹

开发者

ycmbcd

开发环境

操作系统:macOS High Sierra v10.13.5
IDE编辑器:Visual Studio Code v1.35.1
IDE编辑器插件:Bootstrap 3 Snippets, Live Server
浏览器:Chrome v75.0.3770.100

License

MIT

drag-play's People

Contributors

ycmbcd avatar

Watchers

 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.