whatsnewsliderswiper

0.0.8 • Public • Published

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

Package Sidebar

Install

npm i whatsnewsliderswiper

Weekly Downloads

1

Version

0.0.8

License

MIT

Unpacked Size

6.52 kB

Total Files

5

Last publish

Collaborators

  • liulei_ui