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 | */
|
---|
8 | import { ChangeDetectorRef, QueryList, ElementRef, NgZone } from '@angular/core';
|
---|
9 | import { MatDrawer, MatDrawerContainer, MatDrawerContent } from './drawer';
|
---|
10 | import { BooleanInput, NumberInput } from '@angular/cdk/coercion';
|
---|
11 | import { ScrollDispatcher } from '@angular/cdk/scrolling';
|
---|
12 | export declare class MatSidenavContent extends MatDrawerContent {
|
---|
13 | constructor(changeDetectorRef: ChangeDetectorRef, container: MatSidenavContainer, elementRef: ElementRef<HTMLElement>, scrollDispatcher: ScrollDispatcher, ngZone: NgZone);
|
---|
14 | }
|
---|
15 | export declare class MatSidenav extends MatDrawer {
|
---|
16 | /** Whether the sidenav is fixed in the viewport. */
|
---|
17 | get fixedInViewport(): boolean;
|
---|
18 | set fixedInViewport(value: boolean);
|
---|
19 | private _fixedInViewport;
|
---|
20 | /**
|
---|
21 | * The gap between the top of the sidenav and the top of the viewport when the sidenav is in fixed
|
---|
22 | * mode.
|
---|
23 | */
|
---|
24 | get fixedTopGap(): number;
|
---|
25 | set fixedTopGap(value: number);
|
---|
26 | private _fixedTopGap;
|
---|
27 | /**
|
---|
28 | * The gap between the bottom of the sidenav and the bottom of the viewport when the sidenav is in
|
---|
29 | * fixed mode.
|
---|
30 | */
|
---|
31 | get fixedBottomGap(): number;
|
---|
32 | set fixedBottomGap(value: number);
|
---|
33 | private _fixedBottomGap;
|
---|
34 | static ngAcceptInputType_fixedInViewport: BooleanInput;
|
---|
35 | static ngAcceptInputType_fixedTopGap: NumberInput;
|
---|
36 | static ngAcceptInputType_fixedBottomGap: NumberInput;
|
---|
37 | }
|
---|
38 | export declare class MatSidenavContainer extends MatDrawerContainer {
|
---|
39 | _allDrawers: QueryList<MatSidenav>;
|
---|
40 | _content: MatSidenavContent;
|
---|
41 | }
|
---|