UNPKG

1.27 kBTypeScriptView Raw
1/**
2 * @license
3 * Copyright Google LLC All Rights Reserved.
4 *
5 * Use of this source code is governed by an MIT-style license that can be
6 * found in the LICENSE file at https://angular.io/license
7 */
8import { ElementRef } from '@angular/core';
9import { BaseDirective2, StyleUtils, StyleBuilder, MediaMarshaller } from '@angular/flex-layout/core';
10export interface GridAutoParent {
11 inline: boolean;
12}
13export declare class GridAutoStyleBuilder extends StyleBuilder {
14 buildStyles(input: string, parent: GridAutoParent): {
15 display: string;
16 'grid-auto-flow': string;
17 };
18}
19export declare class GridAutoDirective extends BaseDirective2 {
20 get inline(): boolean;
21 set inline(val: boolean);
22 protected _inline: boolean;
23 protected DIRECTIVE_KEY: string;
24 constructor(elementRef: ElementRef, styleBuilder: GridAutoStyleBuilder, styler: StyleUtils, marshal: MediaMarshaller);
25 protected updateWithValue(value: string): void;
26}
27/**
28 * 'grid-auto-flow' CSS Grid styling directive
29 * Configures the auto placement algorithm for the grid
30 * @see https://css-tricks.com/snippets/css/complete-guide-grid/#article-header-id-23
31 */
32export declare class DefaultGridAutoDirective extends GridAutoDirective {
33 protected inputs: string[];
34}