diff --git a/core/src/components/title/readme.md b/core/src/components/title/readme.md index 5163960738..8a86f2ec53 100644 --- a/core/src/components/title/readme.md +++ b/core/src/components/title/readme.md @@ -34,13 +34,13 @@ Ionic provides a way to create the collapsible titles that exist on stock iOS apps. Getting this setup requires configuring your `ion-title`, `ion-header`, and (optionally) `ion-buttons` elements. ```html - + Settings - + Settings @@ -58,7 +58,7 @@ Ionic provides a way to create the collapsible titles that exist on stock iOS ap In the example above, notice there are two `ion-header` elements. The first `ion-header` represents the "collapsed" state of your collapsible header, and the second `ion-header` represents the "expanded" state of your collapsible header. Notice that the second `ion-header` must have `collapse="condense"` and must exist within `ion-content`. Additionally, in order to get the large title styling, `ion-title` must have `size="large"`. ```html - + Click Me @@ -67,7 +67,7 @@ In the example above, notice there are two `ion-header` elements. The first `ion - + @@ -98,6 +98,8 @@ ion-title.large-title { } ``` +> When using collapsible large titles, it is required that `fullscreen="true"` be set on `ion-content` and `translucent="true"` be set on the main `ion-header`. + ### React @@ -145,13 +147,13 @@ import { export const LargeTitleExample: React.FC = () => ( <> - + Settings - + Settings @@ -184,7 +186,7 @@ import { export const LargeTitleExample: React.FC = () => ( <> - + Click Me @@ -193,7 +195,7 @@ export const LargeTitleExample: React.FC = () => ( - + @@ -226,6 +228,8 @@ ion-title.large-title { } ``` +> When using collapsible large titles, it is required that `fullscreen="true"` be set on `IonContent` and `translucent="true"` be set on the main `IonHeader`. + ### Vue @@ -257,13 +261,13 @@ Ionic provides a way to create the collapsible titles that exist on stock iOS ap ```html