##// END OF EJS Templates
sync
sync

File last commit:

r2:8ec37bf1b4d1 default
r8:6d80d7901b4c v1.0.0-rc3 default
Show More
_Contained.d.ts
33 lines | 930 B | video/mp2t | TypeScriptLexer
import { DeclareConstructor } from "dojo/_base/declare";
import _WidgetBase = require("./_WidgetBase");
interface _Contained {
/**
* Returns the previous child of the parent or null if this is the
* first child of the parent.
*/
getPreviousSibling<T extends _WidgetBase>(): T;
/**
* Returns the next child of the parent or null if this is the last
* child of the parent.
*/
getNextSibling<T extends _WidgetBase>(): T;
/**
* Returns the index of this widget within its container parent.
* It returns -1 if the parent does not exist or if the parent is
* not a dijit/_Container.
*/
getIndexInParent(): number;
}
declare module "dojo/_base/kernel" {
interface Dijit {
_Contained: _ContainedConstructor;
}
}
type _ContainedConstructor = DeclareConstructor<_Contained>;
declare const _Contained: _ContainedConstructor;
export = _Contained;