##// END OF EJS Templates
created typings for basic part of dojo and dijit further work is required to...
created typings for basic part of dojo and dijit further work is required to complete typings and separate them from this project dojo-typings replaced with @type/dojo, @type/dijit.

File last commit:

r2:8ec37bf1b4d1 default
r2:8ec37bf1b4d1 default
Show More
_ContentPaneResizeMixin.d.ts
37 lines | 1.2 KiB | video/mp2t | TypeScriptLexer
/ src / typings / dijit / layout / _ContentPaneResizeMixin.d.ts
cin
created typings for basic part of dojo and dijit further work is required to...
r2 import { DomGeometryBox, DomGeometryWidthHeight } from "dojo/dom-geometry";
import { _WidgetBaseConstructor } from "dijit/_WidgetBase";
interface _ContentPaneResizeMixin {
/**
* - false - don't adjust size of children
* - true - if there is a single visible child widget, set it's size to however big the ContentPane is
*/
doLayout: boolean;
/**
* Indicates that this widget will call resize() on it's child widgets
* when they become visible.
*/
isLayoutContainer: boolean;
/**
* See `dijit/layout/_LayoutWidget.startup()` for description.
* Although ContentPane doesn't extend _LayoutWidget, it does implement
* the same API.
*/
startup(): void;
/**
* See `dijit/layout/_LayoutWidget.resize()` for description.
* Although ContentPane doesn't extend _LayoutWidget, it does implement
* the same API.
*/
resize(changeSize?: DomGeometryBox, resultSize?: DomGeometryWidthHeight): void;
}
type _ContentPaneResizeMixinConstructor = _WidgetBaseConstructor<_ContentPaneResizeMixin>;
declare const _ContentPaneResizeMixin: _ContentPaneResizeMixinConstructor;
export = _ContentPaneResizeMixin;