What are the 3 root elements of a page?

https://ionicframework.com/docs/api/components/toolbar/Header/

The documentation on header says 3 root elements? What are other two? ion-content, ion-footer? It’s unclear! Maybe ion-tab? IIRC it has [root]=‘something’ in typescript behind page. Maybe navbar? Just non entirely sure what is meant by root element?

1 Like

Hi @JGFET,

i just stumbled over the same thing. Was there an answer for you?

(Of course, I’d be grateful to anyone’s response :wink: )

EDIT
Ok, by clicking through the whole top-lvl components-api, i found the Footer also one of the root elements/components. However the last one remains a mystery.

Maybe it’s the Content or the NavController
:man_shrugging:

@m4tze It’s header, content and footer. A page has to have one of these 3 (but don’t need all of them).

2 Likes