1.0.5 • Published 4 months ago

ngx-swinging-christmas-balls v1.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

NgxSwingingChristmasBalls

Swing christmas balls on mouse hover on Angular

example.gif

Installation

Run

npm install ngx-swinging-christmas-balls

In 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

paramdescriptiondefault
countBalls count1
scaleBall size scale (float). If the value is less then 0, then each ball will have a random scale from 0.8 to 1.21
1.0.5

4 months ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago