123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- import { ElementRef, Renderer } from '@angular/core';
- import { Config } from '../../config/config';
- import { Ion } from '../ion';
- import { Navbar } from './navbar';
- import { Toolbar } from './toolbar';
- /**
- * @name Title
- * @description
- * `ion-title` is a component that sets the title of the `Toolbar` or `Navbar`
- *
- * @usage
- *
- * ```html
- * <ion-header>
- *
- * <ion-navbar>
- * <ion-title>Settings</ion-title>
- * </ion-navbar>
- *
- * </ion-header>
- * ```
- *
- * Or to create a navbar with a toolbar as a subheader:
- *
- * ```html
- * <ion-header>
- *
- * <ion-navbar>
- * <ion-title>Main Header</ion-title>
- * </ion-navbar>
- *
- * <ion-toolbar>
- * <ion-title>Subheader</ion-title>
- * </ion-toolbar>
- *
- * </ion-header>
- * ```
- *
- * @demo /docs/demos/src/title/
- */
- export declare class ToolbarTitle extends Ion {
- constructor(config: Config, elementRef: ElementRef, renderer: Renderer, toolbar: Toolbar, navbar: Navbar);
- /**
- * @hidden
- */
- getTitleText(): any;
- }
|