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

Correct ionic structure - single ion-header for whole app

$
0
0

@royibernthal wrote:

I have an app.component with ion-nav that displays all my pages, along with ion-header which contains ion-navbar.

Each of my pages contains solely ion-content without ion-header, while ion-header is defined in app.component once above ion-nav.

I heard from someone that it's not a proper ionic structure, instead each page displayed in ion-nav must have its own ion-header (above ion-content). In other words it's not okay to define a single ion-header for the whole app and each page must have its own ion-header.

Otherwise this incorrect structure can cause problems with the status bar, etc.

Is that correct?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 71531

Trending Articles



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