CanvasConfetti
UI Extension
canvas-confetti is a performant confetti animation library for celebratory effects and visual feedback.
Status
Planned
Supported Version
TBD
Licensing
Open Source
Priority
Rank #152
KEY FEATURES
Confetti effects
Customizable shapes
Colors
Physics
Gravity
Origin control
Multiple cannons
Usage Example
Here's how you'll use CanvasConfetti with Oorian once the extension is available:
Java
// Create and configure CanvasConfetti component
CanvasConfetti component = new CanvasConfetti();
component.setWidth("100%");
component.setHeight("400px");
// Configure component options
component.setEnabled(true);
// Register for events using Oorian's event model
component.registerForEvent(this, CanvasConfettiEvent.class);
// Add to your page
container.addElement(component);Note: This is a preview of the expected API. The actual implementation may vary slightly when released.