ng2-split-pane-patch
Version:
A simple resizable split pane Angular 2 library
25 lines (24 loc) • 716 B
TypeScript
import { ElementRef } from '@angular/core';
export declare class PositionService {
static position(element: ElementRef): {
width: number;
height: number;
top: number;
left: number;
};
static offset(element: ElementRef): {
width: number;
height: number;
top: number;
left: number;
};
static positionElements(host: ElementRef, target: ElementRef, positionStr: any, appendToBody: any): {
top: number;
left: number;
};
private static get window();
private static get document();
private static getStyle;
private static isStaticPositioned;
private static parentOffsetEl;
}