package testscriptusage
script withParameters(a string, b string, c int) {
console.log(a, b, c);
}
script withoutParameters() {
alert("hello");
}
script onClick() {
alert("clicked");
}
templ Button(text string) {
}
script withComment() {
//'
}
templ ThreeButtons() {
@Button("A")
@Button("B")
@Conditional(true)
}
script conditionalScript() {
alert("conditional");
}
templ Conditional(show bool) {
}