0.0.7 • Published 8 years ago

vue-indicator v0.0.7

Weekly downloads
59
License
MIT
Repository
github
Last release
8 years ago

Overview

vue-indicator is a mobile loading indicator plugin for vue.js.

Installation

First, install vue-indicator from npm:

$ npm install vue-indicator

Then use it:

// ES6 mudule
import Indicator from 'vue-indicator';

// CommonJS
const Indicator = require('vue-indicator').default;

Usage

Open an indicator:

Indicator.open();

Open an indicator with a string:

Indicator.open('Loading...');

Open an indicator with an object:

Indicator.open({ text:'Loading...', spinnerType: 'fading-circle' });

Then close it:

Indicator.close();

API

OptionDescriptionValueDefault
textindicator textString
spinnerTypespinner type'snake', 'fading-circle', 'double-bounce', 'triple-bounce''snake'

License

MIT

0.0.7

8 years ago

0.0.6

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago