import { ElementRef , Renderer } from '@angular/core' ; import { Config } from '../../config/config' ; import { Ion } from '../ion' ; import { ToolbarTitle } from './toolbar-title' ; hidden export class ToolbarBase extends Ion { private _title : ToolbarTitle ; constructor ( config , elementRef , renderer ) { super ( config , elementRef , renderer , 'toolbar' ) ; } hidden _setTitle ( titleCmp ) { this . _title = titleCmp ; } hidden getTitleText ( ) { return ( this . _title && this . _title . getTitleText ( ) ) || '' ; } }