UNPKG

1.35 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, StyleDefinition, MediaMarshaller } from '@angular/flex-layout/core';
10export interface GridAlignRowsParent {
11 inline: boolean;
12}
13export declare class GridAlignRowsStyleBuilder extends StyleBuilder {
14 buildStyles(input: string, parent: GridAlignRowsParent): StyleDefinition;
15}
16export declare class GridAlignRowsDirective extends BaseDirective2 {
17 protected DIRECTIVE_KEY: string;
18 get inline(): boolean;
19 set inline(val: boolean);
20 protected _inline: boolean;
21 constructor(elementRef: ElementRef, styleBuilder: GridAlignRowsStyleBuilder, styler: StyleUtils, marshal: MediaMarshaller);
22 protected updateWithValue(value: string): void;
23}
24/**
25 * 'row alignment' CSS Grid styling directive
26 * Configures the alignment in the row direction
27 * @see https://css-tricks.com/snippets/css/complete-guide-grid/#article-header-id-18
28 * @see https://css-tricks.com/snippets/css/complete-guide-grid/#article-header-id-20
29 */
30export declare class DefaultGridAlignRowsDirective extends GridAlignRowsDirective {
31 protected inputs: string[];
32}