I tried to find it but can’t find any addressing this.
on ts file there is a function
test(){
alert(“test come!”)
}
but how can I call this on index.html?
I import it on the top of index.html like
<script src="pages/confirm/confirm.ts"></script>
and call it like test(), but it cause error test is not defined.
1 post - 1 participant