UNPKG

1.11 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, MediaMarshaller, StyleBuilder, StyleDefinition } from '@angular/flex-layout/core';
10export declare class GridColumnStyleBuilder extends StyleBuilder {
11 buildStyles(input: string): {
12 'grid-column': string;
13 };
14}
15export declare class GridColumnDirective extends BaseDirective2 {
16 protected DIRECTIVE_KEY: string;
17 constructor(elementRef: ElementRef, styleBuilder: GridColumnStyleBuilder, styler: StyleUtils, marshal: MediaMarshaller);
18 protected styleCache: Map<string, StyleDefinition>;
19}
20/**
21 * 'grid-column' CSS Grid styling directive
22 * Configures the name or position of an element within the grid
23 * @see https://css-tricks.com/snippets/css/complete-guide-grid/#article-header-id-26
24 */
25export declare class DefaultGridColumnDirective extends GridColumnDirective {
26 protected inputs: string[];
27}