@servrox/animations-lib
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

Build Status

servrox's AnimationsLib

Fancy angular library containing easy to use and customizable animation elements.

Live Demo

Getting Started

1. Import module (e.g. OverlayModule)

import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { AppComponent } from './app.component';

import { OverlayModule } from '@servrox/animations-lib';


@NgModule({
  declarations: [AppComponent],
  imports: [BrowserModule, OverlayModule],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule {}

2. Use in template (e.g. OverlayModule -> every input variable is optional)

<ss-ani-lib-overlay
    *ngIf="<boolean>"
    [count]="<number>"
    [useRandomColor]="<boolean>"
    [speed]="<number>"
    [logo]="<string>">
</ss-ani-lib-overlay>

or

<ss-ani-lib-overlay></ss-ani-lib-overlay>

Defaults for OverlayModule:

count: number = 20,
useRandomColor: boolean = true,
speed: number = 1600,
logo: string

Built With

Authors

Package Sidebar

Install

npm i @servrox/animations-lib

Weekly Downloads

2

Version

1.0.2

License

Beerware

Unpacked Size

115 kB

Total Files

29

Last publish

Collaborators

  • aaron-roe
  • servrox1337