@@ -10,7 +10,7 @@ The `ContentContainer` is used to map the depth of the element structure.
1010
1111With each nested ` ContentContainer ` the element structure becomes one level deeper (` level ` ).
1212
13- The appropriate HTML element for the page structure is determined based on the ` level ` . (e.g. ` main ` , ` section ` , ` article ` )
13+ The appropriate HTML element for the page structure is determined based on the ` level ` . (e.g. ` main ` , ` article ` , ` section ` )
1414
1515## Properties
1616
@@ -28,19 +28,23 @@ If set, the heading is rendered as an abstract heading. (e.g. `<slot />`)
2828
2929Tag for the element.
3030
31- ### contentTags
31+ ### rootTags
3232
3333- Type: ` Array `
34- - Default: ` ['section ', 'article'] `
34+ - Default: ` inject('rootTags ', ['main']) `
3535
36- Available tags for the content structure.
36+ Available tags for the root structure.
3737
38- ### rootTags
38+ * If not set, the value is inherited from the parent element.*
39+
40+ ### contentTags
3941
4042- Type: ` Array `
41- - Default: ` ['main ', null] `
43+ - Default: ` inject('contentTags', ['article ', 'section']) `
4244
43- Available tags for the root structure.
45+ Available tags for the content structure.
46+
47+ * If not set, the value is inherited from the parent element.*
4448
4549### level
4650
@@ -64,15 +68,13 @@ Can be used to overwrite the level.
6468``` vue
6569<template>
6670 <ContentContainer>
67- <div >
71+ <header >
6872 <ContentHeadline> Primary Headline (h1) </ContentHeadline>
69- </div >
73+ </header >
7074 <ContentContainer>
7175 <ContentHeadline> Secondary Headline (h2) </ContentHeadline>
7276 <ContentContainer>
73- <ContentContainer>
74- <ContentHeadline> Tertiary Headline (h3) </ContentHeadline>
75- </ContentContainer>
77+ <ContentHeadline> Tertiary Headline (h3) </ContentHeadline>
7678 </ContentContainer>
7779 </ContentContainer>
7880 </ContentContainer>
@@ -81,15 +83,13 @@ Can be used to overwrite the level.
8183
8284``` html
8385<main >
84- <div >
86+ <header >
8587 <h1 > Primary Headline (h1) </h1 >
86- </div >
88+ </header >
8789 <article >
8890 <h2 > Secondary Headline (h2) </h2 >
8991 <section >
90- <article >
91- <h3 > Tertiary Headline (h3) </h3 >
92- </article >
92+ <h3 > Tertiary Headline (h3) </h3 >
9393 </section >
9494 </article >
9595</main >
0 commit comments