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#
collapse#
| Description | 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 |
mode#
| Description | The mode determines which platform styles to use. |
| Attribute | mode |
| Type | "ios" \| "md" |
| Default | undefined |
translucent#
| Description | 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 fullscreenattribute needs to be set on the content. |
| Attribute | translucent |
| Type | boolean |
| Default | false |