The current version of the library is compatible with Ionic 6+.
Using npm
npm install ion-celebration --save
Using yarn
yarn add ion-celebration
Once installed you need to import our module in the parent module for the component you will be using it in:
import { IonCelebrationModule } from 'ion-celebration';
@NgModule({
...
imports: [IonCelebrationModule, ...],
...
})
export class YourModule {
}
Include the component on page template, like the example below:
<ion-celebration
[name]="'balloon'"
[time]="10000">
</ion-celebration>
- name:
string
any valid ion-icon name. - time:
number
time in miliseconds to show animation. default5000
.
👤 Najam Us Saqib
- Github: @saqib92
Contributions, issues and feature requests are welcome!
Feel free to check issues page.
Give a ⭐️ if this project helped you!