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

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 228598

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>