1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 | import { ElementRef, OnChanges } from '@angular/core';
|
9 | import { Directionality } from '@angular/cdk/bidi';
|
10 | import { MediaMarshaller, BaseDirective2, StyleBuilder, StyleDefinition, StyleUtils } from '@angular/flex-layout/core';
|
11 | export interface FlexOffsetParent {
|
12 | layout: string;
|
13 | isRtl: boolean;
|
14 | }
|
15 | export declare class FlexOffsetStyleBuilder extends StyleBuilder {
|
16 | buildStyles(offset: string, parent: FlexOffsetParent): StyleDefinition;
|
17 | }
|
18 |
|
19 |
|
20 |
|
21 |
|
22 | export declare class FlexOffsetDirective extends BaseDirective2 implements OnChanges {
|
23 | protected directionality: Directionality;
|
24 | protected DIRECTIVE_KEY: string;
|
25 | constructor(elRef: ElementRef, directionality: Directionality, styleBuilder: FlexOffsetStyleBuilder, marshal: MediaMarshaller, styler: StyleUtils);
|
26 | /**
|
27 | * Using the current fxFlexOffset value, update the inline CSS
|
28 | * NOTE: this will assign `margin-left` if the parent flex-direction == 'row',
|
29 | * otherwise `margin-top` is used for the offset.
|
30 | */
|
31 | protected updateWithValue(value?: string | number): void;
|
32 | }
|
33 | export declare class DefaultFlexOffsetDirective extends FlexOffsetDirective {
|
34 | protected inputs: string[];
|
35 | }
|