Skip to content
/ ui Public

Some important interaction methods like draggable, droppable, resizable, selectable

License

Notifications You must be signed in to change notification settings

lichaozhy/ui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

desktop-ui-vue

This module is the most important of webVdesk to help developer resolve some complex ui programming problems like draggable, resizable and selectable. Vue technology is the base of it. Someone wants to contribute this package must understand how vue work deeply.

In the past, there are five methods draggable, droppable, resizable, sortable and selectable in jQuery-ui-core library. It is unnecessary to define droppable and sortable because of vue MVVM. So there should be only the three other methods.

Installation

$ npm install vd-ui

As vue plugin

import Vue from 'vue';
import vdUi from 'vd-ui';

Vue.use(vdUi);

Basic example

example.vue

<template>

<!-- it is draggable -->
<vd-ui draggable>
  <your-component />
</vd-ui>

</template>

Reference

Component props

Component events

v-model

Plugin options

Use cases

About

Some important interaction methods like draggable, droppable, resizable, selectable

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published