UNPKG

1.3 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 { MediaMarshaller, BaseDirective2, StyleBuilder, StyleDefinition, StyleUtils } from '@angular/flex-layout/core';
10export declare class GridAlignStyleBuilder extends StyleBuilder {
11 buildStyles(input: string): {
12 [key: string]: string;
13 };
14}
15export declare class GridAlignDirective extends BaseDirective2 {
16 protected DIRECTIVE_KEY: string;
17 constructor(elementRef: ElementRef, styleBuilder: GridAlignStyleBuilder, styler: StyleUtils, marshal: MediaMarshaller);
18 protected styleCache: Map<string, StyleDefinition>;
19}
20/**
21 * 'align' CSS Grid styling directive for grid children
22 * Defines positioning of child elements along row and column axis in a grid container
23 * Optional values: {row-axis} values or {row-axis column-axis} value pairs
24 *
25 * @see https://css-tricks.com/snippets/css/complete-guide-grid/#prop-justify-self
26 * @see https://css-tricks.com/snippets/css/complete-guide-grid/#prop-align-self
27 */
28export declare class DefaultGridAlignDirective extends GridAlignDirective {
29 protected inputs: string[];
30}