blob: 3508863be9aad753ffebf284456c0f0819a16e94 [file] [log] [blame]
/**
* @license
* Copyright Google LLC 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 { ElementRef } from '@angular/core';
import { BaseDirective2, StyleUtils, StyleBuilder, MediaMarshaller } from '@angular/flex-layout/core';
export interface GridAreasParent {
inline: boolean;
}
export declare class GridAreasStyleBuiler extends StyleBuilder {
buildStyles(input: string, parent: GridAreasParent): {
display: string;
'grid-template-areas': string;
};
}
export declare class GridAreasDirective extends BaseDirective2 {
protected DIRECTIVE_KEY: string;
get inline(): boolean;
set inline(val: boolean);
protected _inline: boolean;
constructor(elRef: ElementRef, styleUtils: StyleUtils, styleBuilder: GridAreasStyleBuiler, marshal: MediaMarshaller);
protected updateWithValue(value: string): void;
}
/**
* 'grid-template-areas' CSS Grid styling directive
* Configures the names of elements within the grid
* @see https://css-tricks.com/snippets/css/complete-guide-grid/#article-header-id-14
*/
export declare class DefaultGridAreasDirective extends GridAreasDirective {
protected inputs: string[];
}