Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70612

Ionic, angular JS load content on button press

$
0
0

@justin_ma wrote:

I am studying how to use ionic to make a app. Now I have a page with 4 buttons on it, and a div( id = example). I was wondering how is it possible to load content into that div depending on the button press.

So if:

  • press button 1 on -> show button 1 is pressed as text inside div
  • press button 2 on -> show button 1 is pressed as text inside div
  • etc...

How can I do this in angular/ionic?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70612

Trending Articles



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