Code Monkey home page Code Monkey logo

altalogy-loaders-npm's Introduction

altalogy-loaders-npm

Getting Started

  1. Install:

npm install altaloaders-npm

  1. Import:
 import AltaLoaders from 'altaloaders-npm
 
 <AltaLoaders {...} />
  1. Options:
  • type,
  • size,
  • primaryColor,
  • secondaryColor,
  • text,
  • textPlace,
Property Values Description
type [String] Display loader of current type
size [String] Changing size of loader
primaryColor [String] Change main color
secondaryColor [String] Change secondary color
text [String] Display text for loader
textPlace [String] Enables to select place for label

Available types: Circle | Border | Multi | Triple | Noborder | Reverse | Dbborder | Dots | Boxes | Line | Line2 | Line3

Available sizes: sm | md | lg

Available text places: left | top | right | bottom

Usage

<AltaLoaders
  type='Circle'
  size='md'
  primaryColor='#444'
  secondaryColor=''
  text='Data is loading..'
  textPlace='bottom'
/>

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.

License

This code is released under the MIT License.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.