##// END OF EJS Templates
Добавлена метка v1.0.0-rc1 для набора изменений 1e22cac2aaf4
Добавлена метка v1.0.0-rc1 для набора изменений 1e22cac2aaf4

File last commit:

r0:ab570232df7d default
r3:0b28c6ab359f default
Show More
NodeList-data.d.ts
32 lines | 827 B | video/mp2t | TypeScriptLexer
/// <reference path="dojo.d.ts" />
declare namespace dojo {
interface NodeList<T extends Node> {
/**
* An alias to the private dataCache for NodeList-data. NEVER USE THIS!
* This private is only exposed for the benefit of unit testing, and is
* removed during the build process.
*/
_nodeDataCache: { [id: string]: { [key: string]: any } };
/**
* super expensive: GC all data in the data for nodes that no longer exist in the dom.
*/
_gcNodeData(): void;
/**
* stash or get some arbitrary data on/from these nodes.
*/
data(): any[];
data(key: string): any[];
data(key: Object): this;
data(key: string, value: any): this;
}
}
declare module 'dojo/NodeList-data' {
type NodeList<T extends Node> = dojo.NodeList<T>;
const NodeList: dojo.NodeListConstructor;
export = NodeList;
}