1.0.1 • Published 3 years ago
@mcgong/my-component v1.0.1
Installation
npm install @mcgong/my-component
Using with Vue
import Vue from 'vue'
import MyComponent from '@mcgong/my-component'
Vue.use(MyComponent)
Properties
All the properties below are optional.
color
background-color of component. Defaults toblue
.rounded
whether rounded or not. Defaults totrue
.size
size of component. Defaults todefault
.
Events & Methods
click
an event emitted when the component is clicked.dbclick
an event emitted when the component is dbclicked.