UNPKG

ng-zorro-antd

Version:

An enterprise-class UI components based on Ant Design and Angular

28 lines (27 loc) 1.19 kB
/** * @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 { ChangeDetectorRef, EventEmitter, OnDestroy, OnInit } from '@angular/core'; import { NzResizableService } from './nz-resizable.service'; export declare type NzResizeDirection = 'top' | 'right' | 'bottom' | 'left' | 'topRight' | 'bottomRight' | 'bottomLeft' | 'topLeft'; export declare class NzResizeHandleMouseDownEvent { direction: NzResizeDirection; mouseEvent: MouseEvent | TouchEvent; constructor(direction: NzResizeDirection, mouseEvent: MouseEvent | TouchEvent); } export declare class NzResizeHandleComponent implements OnInit, OnDestroy { private nzResizableService; private cdr; nzDirection: NzResizeDirection; readonly nzMouseDown: EventEmitter<NzResizeHandleMouseDownEvent>; entered: boolean; private destroy$; constructor(nzResizableService: NzResizableService, cdr: ChangeDetectorRef); ngOnInit(): void; onMousedown(event: MouseEvent | TouchEvent): void; ngOnDestroy(): void; }