##// END OF EJS Templates
Added 'Attrs', 'Events' type parameters to DjxWidgetBase, typed 'on' and 'emit' methods
Added 'Attrs', 'Events' type parameters to DjxWidgetBase, typed 'on' and 'emit' methods

File last commit:

r2:8ec37bf1b4d1 default
r30:a46488b209e8 v1.0.0-rc14 default
Show More
window.d.ts
16 lines | 516 B | video/mp2t | TypeScriptLexer
import { DomGeometryBox, DomGeometryXYBox } from "./dom-geometry";
/**
* Returns the dimensions and scroll position of the viewable area of a browser window
*/
export declare function getBox(doc?: Document): DomGeometryBox;
/**
* Get window object associated with document doc.
*/
export declare function get(doc?: Document): Window;
/**
* Scroll the passed node into view using minimal movement, if it is not already.
*/
export declare function scrollIntoView(node: Element, pos?: DomGeometryXYBox): void;