0.0.2 • Published 4 years ago

altaloaders-npm v0.0.2

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

altalogy-loaders-npm

Getting Started

1) Install:

npm install altaloaders-npm

2) Import:

import AltaLoaders from 'altaloaders-npm

<AltaLoaders {...} />

3) Options:

  • type,
  • size,
  • primaryColor,
  • secondaryColor,
  • text,
  • textPlace,
PropertyValuesDescription
typeStringDisplay loader of current type
sizeStringChanging size of loader
primaryColorStringChange main color
secondaryColorStringChange secondary color
textStringDisplay text for loader
textPlaceStringEnables to select place for label

Development

Getting Started

Prerequisites

Node.js >= 6 must be installed.

Installation

  • Running npm install in the component's root directory will install everything you need for development.

Demo Development Server

  • npm start will run a development server with the component's demo app at http://localhost:3000 with hot module reloading.

Running Tests

  • npm test will run the tests once.

  • npm run test:coverage will run the tests and produce a coverage report in coverage/.

  • npm run test:watch will run the tests on every change.

Building

  • npm run build will build the component for publishing to npm and also bundle the demo app.

  • npm run clean will delete built resources.

0.0.2

4 years ago

0.0.1

4 years ago