@true-directive/grid
Version:
Angular Data Grid from Yopsilon.
40 lines (39 loc) • 1.5 kB
TypeScript
/**
* Copyright (c) 2018-2019 Aleksey Melnikov, True Directive Company.
* alx@truedirective.com
* @link https://truedirective.com/
* @license MIT
*/
import { OnDestroy } from '@angular/core';
import { UIAction } from '@true-directive/base';
export declare abstract class BaseComponent implements OnDestroy {
protected uiAction: UIAction;
private documentMouseMoveBound;
private documentMouseUpBound;
private touchStartBound;
private touchEndBound;
private touchCancelBound;
protected windowResizeBound: any;
protected touchMoveListenFunc: any;
protected touchEndListenFunc: any;
protected touchCancelListenFunc: any;
private _touchListener;
protected addWindowResizeListener(): void;
protected addDocumentMouseListeners(): void;
protected removeDocumentMouseListeners(): void;
protected addTouchListeners(element: HTMLElement): void;
protected removeTouchListeners(): void;
protected removeTouchMoveListeners(): void;
protected windowResize(e: any): void;
touchStart(e: any): void;
touchEnd(e: any): void;
touchCancel(e: any): void;
protected documentMouseMove(e: MouseEvent): void;
protected documentMouseUp(e: MouseEvent): void;
canDrop(mouseAction: UIAction, show: boolean): any;
dragInProcess(value: boolean): void;
resizeInProcess(value: boolean): void;
showHeaderBtn(fieldName: string): void;
hideHeaderBtns(): void;
ngOnDestroy(): void;
}