Skip to content

vue组件—守望先锋加载动画图标(Overwatch Loading Icon component by Vue.js)

License

Notifications You must be signed in to change notification settings

tuxinghuan/overwatchLoading

Repository files navigation

overwatchLoading

简介

一个守望先锋加载动画小图标的vue.js组件,可以在你的vue项目中直接引入

安装

直接使用npm引入:

npm install vue-overwatch-loading

然后在vue项目中使用插件的形式引入并使用

//main.js
import VueOverwatchLoading from 'vue-overwatch-loading'
Vue.use(VueOverwatchLoading)
<template>
    ...
    <vue-overwatch-loading />
    ...
<template>

demo

img

api

通过props传入子组件

  • Color:六边形颜色(例如<owloading Color="red" />渲染出来的六边形就是红色)
  • Radius:六边形半径(例如<owloading Radius="10" />渲染出来的六边形半径就是10px)

效果:

img

最后

有任何问题欢迎提issue或者PR

About

vue组件—守望先锋加载动画图标(Overwatch Loading Icon component by Vue.js)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published