1.0.1 • Published 3 years ago

loadanimation v1.0.1

Weekly downloads
3
License
ISC
Repository
github
Last release
3 years ago

Load animation

Animating a simple text using CSS/JS

Installation

npm i customizeText --save

Then...

import {customizeText} from 'customizeText'

customizeText({
    text: 'text you want',
    textSize: 16,
    sameColorAsBg: #FFFFFF,
    textBorderColor: #000000,
    movingTextColor: #0F0F0F
})

Options

Load animation has 5 options:

  • text - (String) what text you want to style
  • textSize - (Number) the size what you would give to the text in px
  • sameColorAsBg - (HEX color) it's have to be the same as the background. Default is white
  • textBorderColor - (HEX color) text border color should have almost the same color as the background
  • movingTextColor - (HEX color) the color of the loading animation