ngx-swinging-christmas-balls
v1.0.5
Published
Swing christmas balls on mouse hover (Angular)
Downloads
39
Maintainers
Readme
NgxSwingingChristmasBalls
Swing christmas balls on mouse hover on Angular

Installation
Run
npm install ngx-swinging-christmas-ballsIn app.module.ts
import { NgModule } from '@angular/core';
import { NgxSwingingChristmasBallsModule } from 'ngx-swinging-christmas-balls';
@NgModule({
declarations: [
AppComponent
],
imports: [
NgxSwingingChristmasBallsModule
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }Use
<swinging-christmas-balls [count]="6" [scale]="-1"></swinging-christmas-balls>Params
|param|description|default|
|---|---|---|
|count| Balls count |1|
|scale| Ball size scale (float). If the value is less then 0, then each ball will have a random scale from 0.8 to 1.2 | 1 |
