##// END OF EJS Templates
Added 'Attrs', 'Events' type parameters to DjxWidgetBase, typed 'on' and 'emit' methods
Added 'Attrs', 'Events' type parameters to DjxWidgetBase, typed 'on' and 'emit' methods

File last commit:

r15:8ef85ad13241 default
r30:a46488b209e8 v1.0.0-rc14 default
Show More
kernel.d.ts
74 lines | 1.8 KiB | video/mp2t | TypeScriptLexer
/* dojo/_base/kernel */
import { Config } from './config';
declare namespace dojo {
interface Dijit {
}
interface Dojox {
}
interface Dojo {
config: Config;
global: any;
dijit: Dijit;
dojox: Dojox;
/**
* a map from a name used in a legacy module to the (global variable name, object addressed by that name)
* always map dojo, dijit, and dojox
*/
scopeMap: {
[scope: string]: [string, any];
dojo: [string, Dojo];
dijit: [string, Dijit];
dojox: [string, Dojox];
};
baseUrl: string;
isAsync: boolean;
locale: string;
version: {
major: number;
minor: number;
patch: number;
flag: string;
revision: number;
toString(): string;
};
/**
* A legacy method created for use exclusively by internal Dojo methods. Do not use this method
* directly unless you understand its possibly-different implications on the platforms your are targeting.
*/
eval(scriptText: string): any;
exit(exitcode?: number): void;
/**
* Log a debug message to indicate that a behavior has been
* deprecated.
*/
deprecated(behaviour: string, extra?: string, removal?: string): void;
/**
* Marks code as experimental.
*/
experimental(moduleName: string, extra?: string): void;
/**
* Returns a URL relative to a module.
*/
moduleUrl(module: string, url?: string): any;
/**
* for backward compatibility with layers built with 1.6 tooling
*/
_hasResource: any;
}
}
declare const dojo: dojo.Dojo;
export = dojo;