vuc-material
v1.1.1
Published
A vue-canvas effects components
Downloads
3
Maintainers
Readme
vuc-material
Install
npm install --save vuc-material
yarn add vuc-material
Basic use
// Global
import vucMaterial from 'vuc-material'
Vue.use(vucMaterial)
// Local
import {vucMaterial} from 'vuc-material'
export default {
components: {vucMaterial}
}
Global Attribute Method
| Attribute | Type | Default value | Explain | |----------| ------------- | ---------- | ---------------- | | switch | Boolean | true | Whether to click Toggle | | color | Array | [] | Random colors of patterns | | output | String | background | Output mode (background、image、canvas)| | quality | number | 1 | Image quality in image mode |