@angular/material
Version:
Angular Material
59 lines (51 loc) • 2.32 kB
TypeScript
import { _AbstractConstructor } from '@angular/material/core';
import { AfterViewInit } from '@angular/core';
import { CanColor } from '@angular/material/core';
import { _Constructor } from '@angular/material/core';
import { ElementRef } from '@angular/core';
import * as i0 from '@angular/core';
import * as i2 from '@angular/material/core';
import { Platform } from '@angular/cdk/platform';
import { QueryList } from '@angular/core';
declare namespace i1 {
export {
throwToolbarMixedModesError,
MatToolbarRow,
MatToolbar
}
}
export declare class MatToolbar extends _MatToolbarBase implements CanColor, AfterViewInit {
private _platform;
private _document;
/** Reference to all toolbar row elements that have been projected. */
_toolbarRows: QueryList<MatToolbarRow>;
constructor(elementRef: ElementRef, _platform: Platform, document?: any);
ngAfterViewInit(): void;
/**
* Throws an exception when developers are attempting to combine the different toolbar row modes.
*/
private _checkToolbarMixedModes;
static ɵfac: i0.ɵɵFactoryDeclaration<MatToolbar, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<MatToolbar, "mat-toolbar", ["matToolbar"], { "color": "color"; }, {}, ["_toolbarRows"], ["*", "mat-toolbar-row"], false>;
}
/** @docs-private */
declare const _MatToolbarBase: _Constructor<CanColor> & _AbstractConstructor<CanColor> & {
new (_elementRef: ElementRef): {
_elementRef: ElementRef;
};
};
export declare class MatToolbarModule {
static ɵfac: i0.ɵɵFactoryDeclaration<MatToolbarModule, never>;
static ɵmod: i0.ɵɵNgModuleDeclaration<MatToolbarModule, [typeof i1.MatToolbar, typeof i1.MatToolbarRow], [typeof i2.MatCommonModule], [typeof i1.MatToolbar, typeof i1.MatToolbarRow, typeof i2.MatCommonModule]>;
static ɵinj: i0.ɵɵInjectorDeclaration<MatToolbarModule>;
}
export declare class MatToolbarRow {
static ɵfac: i0.ɵɵFactoryDeclaration<MatToolbarRow, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<MatToolbarRow, "mat-toolbar-row", ["matToolbarRow"], {}, {}, never, never, false>;
}
/**
* Throws an exception when attempting to combine the different toolbar row modes.
* @docs-private
*/
export declare function throwToolbarMixedModesError(): void;
export { }