whatsnewsliderswiper
v0.0.8
Published
inCall Vue
Downloads
5
Readme
Overview
vue-whatsnewSlider is a mobile loading whatsnewSlider plugin for vue.js.
Installation
First, install vue-whatsnewSlider
from npm:
$ npm install vue-whatsnewSlider
Then use it:
// ES6 mudule
import whatsnewSlider from 'vue-whatsnewSlider';
// CommonJS
const whatsnewSlider = require('vue-whatsnewSlider').default;
Usage
Open an whatsnewSlider:
whatsnewSlider.open();
Open an whatsnewSlider with a string:
whatsnewSlider.open('Loading...');
Open an whatsnewSlider with an object:
whatsnewSlider.open({ text:'Loading...', spinnerType: 'fading-circle' });
Then close it:
whatsnewSlider.close();
API
| Option | Description | Value | Default | |-------------|----------------|-------------------------------------------------------------|---------| | text | whatsnewSlider text | String | | | spinnerType | spinner type | 'snake', 'fading-circle', 'double-bounce', 'triple-bounce' | 'snake' |
License
MIT