Confetti
Theme-aware burst celebration via XConfettiService.
@xngui/components/confettiimport { XConfettiService } from '@xngui/components/confetti';Preview
import { inject } from '@angular/core';
import { XConfettiService } from '@xngui/components/confetti';
export class ExampleComponent {
private readonly xConfettiService = inject(XConfettiService);
celebrate(): void {
this.xConfettiService.fireFrom(this.trigger.nativeElement);
}
}
Events
Interact with the preview — events will appear here.