ng-zorro-antd
Version:
An enterprise-class UI components based on Ant Design and Angular
33 lines (32 loc) • 1.21 kB
TypeScript
/**
* @license
* Copyright Alibaba.com All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE
*/
import { TemplateRef } from '@angular/core';
import { NzSafeAny } from 'ng-zorro-antd/core/types';
import { Observable } from 'rxjs';
import { NzDrawerPlacement } from './drawer-options';
export declare abstract class NzDrawerRef<R = NzSafeAny> {
abstract afterClose: Observable<R>;
abstract afterOpen: Observable<void>;
abstract close(result?: R): void;
abstract open(): void;
abstract nzClosable: boolean;
abstract nzNoAnimation: boolean;
abstract nzMaskClosable: boolean;
abstract nzKeyboard: boolean;
abstract nzMask: boolean;
abstract nzTitle: string | TemplateRef<{}>;
abstract nzPlacement: NzDrawerPlacement;
abstract nzMaskStyle: object;
abstract nzBodyStyle: object;
abstract nzWrapClassName: string;
abstract nzWidth: number | string;
abstract nzHeight: number | string;
abstract nzZIndex: number | string;
abstract nzOffsetX: number | string;
abstract nzOffsetY: number | string;
}