Files
2026-04-17 19:05:33 +02:00

11 lines
220 B
TypeScript

console.log('Another view')
const button = document.getElementById('show-alert-button');
if (button) {
button.addEventListener('click', function (e) {
e.preventDefault();
alert('Danger!');
})
}