1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 | import { ElementRef } from '@angular/core';
|
9 | import { BaseDirective2, StyleUtils, MediaMarshaller, StyleBuilder } from '@angular/flex-layout/core';
|
10 | export interface GridGapParent {
|
11 | inline: boolean;
|
12 | }
|
13 | export declare class GridGapStyleBuilder extends StyleBuilder {
|
14 | buildStyles(input: string, parent: GridGapParent): {
|
15 | display: string;
|
16 | 'grid-gap': string;
|
17 | };
|
18 | }
|
19 | export declare class GridGapDirective extends BaseDirective2 {
|
20 | protected DIRECTIVE_KEY: string;
|
21 | get inline(): boolean;
|
22 | set inline(val: boolean);
|
23 | protected _inline: boolean;
|
24 | constructor(elRef: ElementRef, styleUtils: StyleUtils, styleBuilder: GridGapStyleBuilder, marshal: MediaMarshaller);
|
25 | protected updateWithValue(value: string): void;
|
26 | }
|
27 | /**
|
28 | * 'grid-gap' CSS Grid styling directive
|
29 | * Configures the gap between items in the grid
|
30 | * Syntax: <row gap> [<column-gap>]
|
31 | * @see https://css-tricks.com/snippets/css/complete-guide-grid/#article-header-id-17
|
32 | */
|
33 | export declare class DefaultGridGapDirective extends GridGapDirective {
|
34 | protected inputs: string[];
|
35 | }
|