##// END OF EJS Templates
Added tag v1.0.0-rc11 for changeset 9b77ac3bf8f2
Added tag v1.0.0-rc11 for changeset 9b77ac3bf8f2

File last commit:

r2:8ec37bf1b4d1 default
r25:02ffb530b1a9 default
Show More
_Contained.d.ts
33 lines | 930 B | video/mp2t | TypeScriptLexer
cin
created typings for basic part of dojo and dijit further work is required to...
r2 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;