1.1.0 • Published 4 years ago

shapla-spinner v1.1.0

Weekly downloads
10
License
MIT
Repository
github
Last release
4 years ago

shapla-spinner

npm npm vue2

A loading spinner component based on Material Design Lite Spinner for Vue.js

Table of contents

Installation

npm install --save shapla-spinner

Usage

Add the component:

import spinner from 'shapla-spinner';

export default {
  name: 'Hello',

  components: {
    spinner
  },

  data () {
    return {
        active:true,
    };
  }
}
<spinner :active="true" :single="false" :show-text="false" position="static"></spinner>

Props

PropertyTypeRequiredDefaultDescription
activeBooleannotrueSpinner will be shown only when active value is true
singleBooleannofalseIf set true, only primary color will be shown for all layers.
showTextBooleannofalseIf set true, Loading... text will be show beside spinner.
loadingTextStringnoLoading...Loading text
positionStringnofixedValue can be fixed, absolute, or static.
sizeStringnodefaultValue can be default, small, or medium or large.
1.1.0

4 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago