vuc-color

1.1.1 • Public • Published

vuc-color


name Link
中文文档 👀
Example 👀

Install

    npm install --save vuc-color
    
    yarn add vuc-color

Basic use

    // Global
    
    import vucColor from 'vuc-color'
    Vue.use(vucColor)
    
    // Local
    
    import {vucColor} from 'vuc-color'
    export default {
      components: {vucColor}
    }
    

Global Attribute Method

Attribute Type Default value Explain
H number none height
W number none width
img string none
update function () => {} (fileArraay, file.result) => {}
colour function () => {} ([r, g, b, a]) => {}
draft boolean true Whether it can be dragged or not
size array [30, 30] cousor size

Package Sidebar

Install

npm i vuc-color

Weekly Downloads

0

Version

1.1.1

License

MIT

Unpacked Size

98.6 kB

Total Files

16

Last publish

Collaborators

  • loo4p