- Updated all component headers and documentation
- Changed navbar and footer branding
- Updated homepage hero badge
- Modified page title in index.html
- Simplified footer text to 'Built with ❤️'
- Consistent V2 capitalization across all references
9 lines
226 B
JavaScript
9 lines
226 B
JavaScript
function addDomEvent(target, eventName, handler, options) {
|
|
target.addEventListener(eventName, handler, options);
|
|
return () => {
|
|
target.removeEventListener(eventName, handler, options);
|
|
};
|
|
}
|
|
|
|
export { addDomEvent };
|