ion-header
Header is a parent component that holds the toolbar component. It's important to note that ion-header needs to be the one of the three root elements of a page
#
Usage- ANGULAR
- JAVASCRIPT
- REACT
- STENCIL
- VUE
#
Properties#
collapseDescription | Describes the scroll effect that will be applied to the headercondense only applies in iOS mode.Typically used for Collapsible Large Titles |
Attribute | collapse |
Type | "condense" \| undefined |
Default | undefined |
#
modeDescription | The mode determines which platform styles to use. |
Attribute | mode |
Type | "ios" \| "md" |
Default | undefined |
#
translucentDescription | If true , the header will be translucent.Only applies when the mode is "ios" and the device supportsbackdrop-filter .Note: In order to scroll content behind the header, the fullscreen attribute needs to be set on the content. |
Attribute | translucent |
Type | boolean |
Default | false |