UNPKG

1.12 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, OnChanges } from '@angular/core';
9import { BaseDirective2, StyleBuilder, StyleDefinition, StyleUtils, MediaMarshaller } from '@angular/flex-layout/core';
10export declare class FlexOrderStyleBuilder extends StyleBuilder {
11 buildStyles(value: string): {
12 order: string | number;
13 };
14}
15/**
16 * 'flex-order' flexbox styling directive
17 * Configures the positional ordering of the element in a sorted layout container
18 * @see https://css-tricks.com/almanac/properties/o/order/
19 */
20export declare class FlexOrderDirective extends BaseDirective2 implements OnChanges {
21 protected DIRECTIVE_KEY: string;
22 constructor(elRef: ElementRef, styleUtils: StyleUtils, styleBuilder: FlexOrderStyleBuilder, marshal: MediaMarshaller);
23 protected styleCache: Map<string, StyleDefinition>;
24}
25export declare class DefaultFlexOrderDirective extends FlexOrderDirective {
26 protected inputs: string[];
27}