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

8 lines
275 B
TypeScript
Raw Normal View History

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