Retrospring/app/javascript/retrospring/features/front/index.ts

8 lines
275 B
TypeScript

import registerEvents from 'retrospring/utilities/registerEvents';
import { themeButtonHandler } from './theme';
export default (): void => {
registerEvents([
{ type: 'click', target: document.querySelectorAll('.js-theme-button'), handler: themeButtonHandler }
]);
}