@h3ar7b3a7/spin-anything
TypeScript icon, indicating that this package has built-in type declarations

0.0.26 • Public • Published

Spin Anything

Spin text, images or anything else easily.

Import

import { SpinAnythingModule } from '@h3ar7b3a7/spin-anything';

@NgModule({
  imports: [ BrowserModule, SpinAnythingModule ],
  /* ... */
})

Inputs

  • img
  • text
  • size: default = '100'
  • relativeSize
  • speed: default = '3'
  • color: default = '#000'
  • weight: default = '300'
  • fontSize: default = '20'
  • relativeFontSize
  • fontStyle: default = 'normal'

Examples

<spinner>Example</spinner>
<spinner
  text="Example"
  img="/assets/img/some_image.png"
  relativeSize="15"
  speed="5"
  color="blue"
  weight="bold"
  relativeFontSize="2"
></spinner>

Package Sidebar

Install

npm i @h3ar7b3a7/spin-anything

Weekly Downloads

1

Version

0.0.26

License

ISC

Unpacked Size

37.2 kB

Total Files

16

Last publish

Collaborators

  • h3ar7b3a7