Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 231353

Cordova Plugins Syntax in Ionic 2

$
0
0

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


Viewing all articles
Browse latest Browse all 231353

Latest Images

Trending Articles



Latest Images