UNPKG

@angular/material

Version:
26 lines (25 loc) 1.02 kB
/** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import { InjectionToken } from '@angular/core'; /** Injection token that configures whether the Material sanity checks are enabled. */ export declare const MATERIAL_SANITY_CHECKS: InjectionToken<boolean>; /** * Module that captures anything that should be loaded and/or run for *all* Angular Material * components. This includes Bidi, compatibility mode, etc. * * This module should be imported to each top-level component module (e.g., MatTabsModule). */ export declare class MatCommonModule { /** Whether we've done the global sanity checks (e.g. a theme is loaded, there is a doctype). */ private _hasDoneGlobalChecks; /** Reference to the global `document` object. */ private _document; constructor(sanityChecksEnabled: boolean); private _checkDoctype(); private _checkTheme(); }