1.0.2 • Published 5 years ago

@psff/cmp-spinner v1.0.2

Weekly downloads
1
License
-
Repository
-
Last release
5 years ago

@psff/cmp-spinner psff-spinner

An Spinner is a compact element that allow users to represent that an asynchronous process is running.

Getting started

  1. Setup the package as a dependencie.

    yarn add @psff/cmp-spinner
  2. Use the component <psff-spinner />.

    import PsffSpinner from '@psff/cmp-spinner'
    
    @Component({
      components: {
        PsffSpinner,
      },
    })
    export default class MyComponent extends Vue {}
    .my-spinner {
      --psff-spinner-color: #fabada;
      --psff-spinner-size: 3rem;
    }
    <psff-spinner class="my-spinner" />

Specifications

Component <psff-spinner />

This component render a spinner.

Custom propperties:

  • Generic:

    • --psff-spinner-color (default #666)
    • --psff-spinner-size (default: 2rem)