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

'content' attribute in Ionic 2 'getting started' tutorial

$
0
0

Ok, this is what I've worked out so far (please tell me if I'm not making sense):
In app.html, IonNav creates a local variable, #content, so that others can access it. IonMenu is setting an attribute to this local variable so it has access to IonNav, and consequently the navigation mechanism so it can update the menu accordingly.
I assume this is happening in the background as nothing else seems to be using IonMenu's 'content' attribute?


Viewing all articles
Browse latest Browse all 228595

Trending Articles



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