UNPKG

1.38 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 GridAlignColumnsParent {
11 inline: boolean;
12}
13export declare class GridAlignColumnsStyleBuilder extends StyleBuilder {
14 buildStyles(input: string, parent: GridAlignColumnsParent): StyleDefinition;
15}
16export declare class GridAlignColumnsDirective 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: GridAlignColumnsStyleBuilder, styler: StyleUtils, marshal: MediaMarshaller);
22 protected updateWithValue(value: string): void;
23}
24/**
25 * 'column alignment' CSS Grid styling directive
26 * Configures the alignment in the column direction
27 * @see https://css-tricks.com/snippets/css/complete-guide-grid/#article-header-id-19
28 * @see https://css-tricks.com/snippets/css/complete-guide-grid/#article-header-id-21
29 */
30export declare class DefaultGridAlignColumnsDirective extends GridAlignColumnsDirective {
31 protected inputs: string[];
32}