##// END OF EJS Templates
Added tag v1.0.2 for changeset ed3c20c09b00
Added tag v1.0.2 for changeset ed3c20c09b00

File last commit:

r2:8ec37bf1b4d1 default
r47:5b7c733ef63d default
Show More
Destroyable.d.ts
24 lines | 669 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";
interface Destroyable {
_destroyed?: true;
/**
* Destroy this class, releasing any resources registered via own().
*/
destroy(preserveDom?: boolean): void;
/**
* Track specified handles and remove/destroy them when this instance is destroyed, unless they were
* already removed/destroyed manually.
*/
own(...args: any[]): any[];
}
/**
* Mixin to track handles and release them when instance is destroyed.
*/
interface DestroyableConstructor extends DeclareConstructor<Destroyable> { }
declare const Destroyable: DestroyableConstructor;
export = Destroyable;