ahh okay, Thanks for your help.. just one more question if you dont mind...
if I have a class.. or a page:
export class Page2 {
constructor() {
function joe()
{
console.log("Jono");
}
}
Login(){
console.log("Login Click");
}
}
Is there anyway to call the Login method in the constructor.. tried the obvious 'Login()" but it just threw errors