/** * A shortcut for executing directly in the component: stopPropagation */ export function stopPropagation(e: Event) { e.stopPropagation(); } /** * A shortcut for executing directly in the component: preventDefault */ export function preventDefault(e: Event) { e.preventDefault(); } export const rootEl = document.getElementById('root');