ngx-swinging-christmas-balls
TypeScript icon, indicating that this package has built-in type declarations

1.0.5 • Public • Published

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

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

Package Sidebar

Install

npm i ngx-swinging-christmas-balls

Weekly Downloads

13

Version

1.0.5

License

MIT

Unpacked Size

1.18 MB

Total Files

14

Last publish

Collaborators

  • uncod