ProtectedeventProtectedaddRegister event listener with automatic binding and cleanup tracking
The eventbus to register with
Name of the event to listen for
Event handler function (will be bound to this controller)
ProtectedattachRegister multiple event listeners at once
The eventbus to register with
Array of {eventName, handler} pairs
Clean up all tracked event listeners Prevents memory leaks by removing all registered handlers
This controller renders a lottie-web animation inside the given selected element.
The url may encode freeze and end positions like this: my-url/filename[freeze=10,end=21].json