1.0.8 • Published 5 years ago

@pderas/vue2-loader v1.0.8

Weekly downloads
-
License
MIT
Repository
github
Last release
5 years ago

Vue Loader

A vue.js component to show a loading indicator.

How to initialize Vue Loader

Vue loader is built as a vue plugin. It can be initialized just as the Vue documentation states.

import Loader from "@pderas/vue2-loader";

Vue.use(Loader, {
    color:  'black',    // default
    type:   'bar'       // default
});

Usage

Creation

A vue loader is easily created, and usually combined with a v-if to show/hide the loader.

<loader></loader>

Properties

PropertyRequiredTypeDefaultDescription
colorfalseString'black'The color of the loader (can be a hex value)
typefalseString'bar'The type of style to use for the loader
Available Types
  1. bar
  2. spinning-dot

Styling

Styling is currently limited, but can be expanded in the future.

License

This project is covered under the MIT License. Feel free to use it wherever you like.

1.0.8

5 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago