@mu-ui/mu-loading
TypeScript icon, indicating that this package has built-in type declarations

0.1.5 • Public • Published

mu-loading

loading vue component for vue 2.x

Installation

yarn add @mu-ui/mu-loading

Usage

import Loading from '@mu-ui/mu-loading'

Vue.component('loading', Loading)

<loading type="dual-ring" :width="6" :size="40">
  custom width: 6
</loading>
<loading type="dual-ring" :width="6" :size="40">
  <div slot="icon" class="loading-dot"></div>
  custom icon
</loading>

Options

type

Type: String Default: ring

loading icon. It has two types(ring|dual-ring) built-in.

color

Type: String Default: #272639

loading icon color

size

Type: Number Default: 30

loading icon width & height

width

Type: Number Default: 3

loading icon border width

Readme

Keywords

Package Sidebar

Install

npm i @mu-ui/mu-loading

Weekly Downloads

4

Version

0.1.5

License

MIT

Unpacked Size

12.2 kB

Total Files

8

Last publish

Collaborators

  • jr93