You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
WHEN (situation): when the component adds event handlers,
WHAT: I want it to be able to remove them,
WHY: because I need to dynamically create and remove components and I don't want to leave a mess behind.
WHEN (situation): when the component adds event handlers,
WHAT: I want it to be able to remove them,
WHY: because I need to dynamically create and remove components and I don't want to leave a mess behind.
Acceptance criteria
if I call the dispose() method, it will remove all event handlers of the component
Implementation notes (optional)
#823 (comment)
BaseComponent.dispose() could be used for this
the given property is missing for now, but Bootstrap has it https://github.com/twbs/bootstrap/blob/main/js/src/base-component.js#L41
The text was updated successfully, but these errors were encountered: