30 lines
1.3 KiB
HTML
30 lines
1.3 KiB
HTML
<script>
|
|
function __templ_withParameters_1056(a, b, c){console.log(a, b, c);
|
|
}function __templ_withoutParameters_6bbf(){alert("hello");
|
|
}
|
|
</script>
|
|
<button onClick="__templ_withParameters_1056("test","A",123)" onMouseover="__templ_withoutParameters_6bbf()" type="button">A</button>
|
|
<button onClick="__templ_withParameters_1056("test","B",123)" onMouseover="__templ_withoutParameters_6bbf()" type="button">B</button>
|
|
<button onMouseover="console.log('mouseover')" type="button">Button C</button>
|
|
<button hx-on::click="alert('clicked inline')" type="button">Button D</button>
|
|
<script>
|
|
function __templ_onClick_657d(){alert("clicked");
|
|
}
|
|
</script>
|
|
<button hx-on::click="__templ_onClick_657d()" type="button">Button E</button>
|
|
<script>
|
|
function __templ_whenButtonIsClicked_253e(event){console.log(event.target)
|
|
}
|
|
</script>
|
|
<button onclick="__templ_whenButtonIsClicked_253e(event)">Button F</button>
|
|
<script>
|
|
function __templ_conditionalScript_de41(){alert("conditional");
|
|
}
|
|
</script>
|
|
<input type="button" value="Click me" onclick="__templ_conditionalScript_de41()" />
|
|
<script>
|
|
function __templ_alertTest_eadf(){alert('testing');
|
|
}
|
|
</script>
|
|
<script async crossorigin="true" onload="__templ_alertTest_eadf()" src="url.to.some.script"></script>
|