1
I’m starting in Ionic and Angularjs, already googlei enough and found nothing about this simple doubt.
I can navigate well between the ion-view "Page1" and "Page2" using buttons:
<ion-view view-title="Page1">
<ion-content>
<h1>Page 1</h1>
<a class="button icon icon-right ion-chevron-right" href="#/app/page2">Page 2</a>
</ion-content>
</ion-view>
<ion-view view-title="Page2">
<ion-content>
<h1>Page 2</h1>
<a class="button icon icon-right ion-chevron-right" href="#/app/page1">Page 1</a>
</ion-content>
</ion-view>
But I would like to perform this through a function:
function EventoTal(){
carregue("page2");
}
No need to click the button.
In jQuery $(elemento).show();
Thank you very much! That’s right! I had tried to seem but without success.
– Patrick Lobo
@Patricklobo, did it really work out? Hehe. I’m glad I helped, and I’ve never had contact with Ionic, although I’ve read some things about, so the answer was based on my web knowledge. Hehe.
– Fernando Leal