hjk-levitated-sphere
v1.0.1
Published
hjk vue levitated-sphere
Downloads
3
Readme
Build Setup
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run serve
# build for production with minification
npm run build
or
# install dependencies
yarn
# serve with hot reload at localhost:8080
yarn serve
# build for production with minification
yarn buildQuick Start
1. Import hjk-levitated-sphere into your vue.js project.
Using build tools:
npm install hjk-levitated-sphere
or
yarn add hjk-levitated-sphereimport Vue from 'vue';
import HjkLevitatedSphere from 'hjk-levitated-sphere';
Vue.use(HjkLevitatedSphere);2. Now you have it. The simplest usage:
<hjk-levitated-sphere></hjk-levitated-sphere>export default {
name: 'App',
data(){
return {}
},
methods: { }
}argument
| Param | Type | Describe | default | Version | | :------: | :------: | :------: | :-----: | :-----: | | width | Number | 宽度 |50| 1.0.0| | height | Number | 高度|50 | 1.0.0| | background | String |#2196f3| 背景颜色 | 1.0.0 |
更新记录
V1.0.1
- 增加使用说明
example
可参考如下用法:
<template>
<hjk-levitated-sphere></hjk-levitated-sphere>
</template>
<script>
export default {
name: 'App',
data(){
return { }
},
methods: {
}
}
</script>
<style>
</style>
