UNPKG

ionic-angular

Version:

A powerful framework for building mobile and progressive web apps with JavaScript and Angular

32 lines (31 loc) 905 B
import { ElementRef, Renderer } from '@angular/core'; import { Config } from '../../config/config'; import { Ion } from '../ion'; import { Header as IHeader } from '../../navigation/nav-interfaces'; import { ViewController } from '../../navigation/view-controller'; /** * @name Header * @description * Header is a parent component that holds the navbar and toolbar component. * It's important to note that `ion-header` needs to be one of the three root elements of a page * * @usage * * ```html * <ion-header> * <ion-navbar> * <ion-title>Page1</ion-title> * </ion-navbar> * * <ion-toolbar> * <ion-title>Subheader</ion-title> * </ion-toolbar> * </ion-header> * * <ion-content></ion-content> * ``` * */ export declare class Header extends Ion implements IHeader { constructor(config: Config, elementRef: ElementRef, renderer: Renderer, viewCtrl: ViewController); }