UNPKG

1.07 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 FlexAlignStyleBuilder extends StyleBuilder {
11 buildStyles(input: string): StyleDefinition;
12}
13/**
14 * 'flex-align' flexbox styling directive
15 * Allows element-specific overrides for cross-axis alignments in a layout container
16 * @see https://css-tricks.com/almanac/properties/a/align-self/
17 */
18export declare class FlexAlignDirective extends BaseDirective2 {
19 protected DIRECTIVE_KEY: string;
20 constructor(elRef: ElementRef, styleUtils: StyleUtils, styleBuilder: FlexAlignStyleBuilder, marshal: MediaMarshaller);
21 protected styleCache: Map<string, StyleDefinition>;
22}
23export declare class DefaultFlexAlignDirective extends FlexAlignDirective {
24 protected inputs: string[];
25}