cola-users
v1.0.5
Published
A user avator and function's Button aseembly
Downloads
3
Readme
cola-users
A Vue.js project
Build Setup
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
How to use
#import it
import colaUsers from 'cola-users';
#used it
Vue.use(colaUsers);
#need data
name: {
type: String,
default: "暂无姓名"
},
buttonList: {
type: Array,
default: () => []
},
fontColor: {
type: String,
default: "#000"
},
bgColor: {
type: String,
default: "#FFF"
},
hoverFontColor: {
type: String,
default: "#409eff"
},
hoverBgColor: {
type: String,
default: "#EEF5FE"
}
#function v-on
#secClick get what you click index
```