@polska03 wrote:
My code looks something like this:
@Page({
templateUrl: 'build/pages/myPage/myPage.html'
})export class Login {
constructor() { myFunction(); }
myFunction(){
}
}When I call myFunction from inside of the constructor it tells me the function is not defined? How can I call the function from the constructor?
Posts: 3
Participants: 2