71
rated 0 times
[
74]
[
3]
/ answers: 1 / hits: 15752
/ 7 Years ago, tue, july 18, 2017, 12:00:00
I am new to ionic framework. I am trying to redirect to other page on button click in ionic framework version 3. I did not get enough source on this. I tried location()
and go()
functions but it did not work.
This is my code in newpage.html :
<button ion-button block (click)=click()>Click me</button>
This is my code in newpage.ts :
click() {
this.go('/HomePage');
}
More From » ionic-framework