##// END OF EJS Templates
Added tag v1.0.5 for changeset 346ba910a542
Added tag v1.0.5 for changeset 346ba910a542

File last commit:

r2:8ec37bf1b4d1 default
r51:0b41300b6dd9 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;