ng2-qgrid
Version:
Angular Grid
30 lines (23 loc) • 827 B
TypeScript
import { Rect } from './rect';
import { Unit } from './unit';
import { BoxContext } from './box';
import { ColumnView } from '../scene/view/column.view';
import { Model } from '../infrastructure/model';
export declare class View extends Unit {
constructor(context: BoxContext, model: Model, markup: { [key: string]: HTMLElement });
columns(): ColumnView[];
focus(): boolean;
blur(): void;
isFocused(): boolean;
scrollLeft(value?: number): number;
scrollTop(value?: number): number;
scrollHeight(): number;
scrollWidth(): number;
canScrollTo(element: Element, direction: string): boolean;
rect(area?: string): Rect;
width(area?: string): number;
height(area?: string): number;
addLayer(name: string): any;
removeLayer(name: string): boolean;
hasLayer(name: string): boolean;
}