Front end of the Slack clone application.

toolbar-title.d.ts 1001B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. import { ElementRef, Renderer } from '@angular/core';
  2. import { Config } from '../../config/config';
  3. import { Ion } from '../ion';
  4. import { Navbar } from './navbar';
  5. import { Toolbar } from './toolbar';
  6. /**
  7. * @name Title
  8. * @description
  9. * `ion-title` is a component that sets the title of the `Toolbar` or `Navbar`
  10. *
  11. * @usage
  12. *
  13. * ```html
  14. * <ion-header>
  15. *
  16. * <ion-navbar>
  17. * <ion-title>Settings</ion-title>
  18. * </ion-navbar>
  19. *
  20. * </ion-header>
  21. * ```
  22. *
  23. * Or to create a navbar with a toolbar as a subheader:
  24. *
  25. * ```html
  26. * <ion-header>
  27. *
  28. * <ion-navbar>
  29. * <ion-title>Main Header</ion-title>
  30. * </ion-navbar>
  31. *
  32. * <ion-toolbar>
  33. * <ion-title>Subheader</ion-title>
  34. * </ion-toolbar>
  35. *
  36. * </ion-header>
  37. * ```
  38. *
  39. * @demo /docs/demos/src/title/
  40. */
  41. export declare class ToolbarTitle extends Ion {
  42. constructor(config: Config, elementRef: ElementRef, renderer: Renderer, toolbar: Toolbar, navbar: Navbar);
  43. /**
  44. * @hidden
  45. */
  46. getTitleText(): any;
  47. }