UNPKG

1 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, StyleBuilder, StyleDefinition, StyleUtils, MediaMarshaller } from '@angular/flex-layout/core';
10export declare class FlexFillStyleBuilder extends StyleBuilder {
11 buildStyles(_input: string): {
12 margin: number;
13 width: string;
14 height: string;
15 'min-width': string;
16 'min-height': string;
17 };
18}
19/**
20 * 'fxFill' flexbox styling directive
21 * Maximizes width and height of element in a layout container
22 *
23 * NOTE: fxFill is NOT responsive API!!
24 */
25export declare class FlexFillDirective extends BaseDirective2 {
26 constructor(elRef: ElementRef, styleUtils: StyleUtils, styleBuilder: FlexFillStyleBuilder, marshal: MediaMarshaller);
27 protected styleCache: Map<string, StyleDefinition>;
28}