Front end of the Slack clone application.

toolbar-header.d.ts 905B

1234567891011121314151617181920212223242526272829303132
  1. import { ElementRef, Renderer } from '@angular/core';
  2. import { Config } from '../../config/config';
  3. import { Ion } from '../ion';
  4. import { Header as IHeader } from '../../navigation/nav-interfaces';
  5. import { ViewController } from '../../navigation/view-controller';
  6. /**
  7. * @name Header
  8. * @description
  9. * Header is a parent component that holds the navbar and toolbar component.
  10. * It's important to note that `ion-header` needs to be one of the three root elements of a page
  11. *
  12. * @usage
  13. *
  14. * ```html
  15. * <ion-header>
  16. * <ion-navbar>
  17. * <ion-title>Page1</ion-title>
  18. * </ion-navbar>
  19. *
  20. * <ion-toolbar>
  21. * <ion-title>Subheader</ion-title>
  22. * </ion-toolbar>
  23. * </ion-header>
  24. *
  25. * <ion-content></ion-content>
  26. * ```
  27. *
  28. */
  29. export declare class Header extends Ion implements IHeader {
  30. constructor(config: Config, elementRef: ElementRef, renderer: Renderer, viewCtrl: ViewController);
  31. }