his-loading
v0.0.9
Published
his loading vue component
Downloads
7
Readme
妈咪加载中组件
安装
// yarn
$ yarn add his-loading
// npm
$ npm i his-loading
使用
<template>
<HisLoading
:loading="loading" // 设置是否显示loading框
:absolute="false" // 设置position类型,默认为fixed全屏覆盖,当设为true时为absolute占满父节点;
/>
</template>
<script>
import HisLoading from 'his-loading';
export default {
name: 'Test',
data() {
return {
loading: false
}
},
components: { HisLoading }
}
</script>
<style scoped lang="less">
@import './index.less';
</style>