##// END OF EJS Templates
`dojo.store.api` replaced `dojo.promise.Promise<T>` with `PromiseLike<T>` type
`dojo.store.api` replaced `dojo.promise.Promise<T>` with `PromiseLike<T>` type

File last commit:

r0:ab570232df7d default
r12:1e87acba35f3 v1.0.3 default
Show More
metrics.d.ts
35 lines | 819 B | video/mp2t | TypeScriptLexer
declare namespace dojox {
namespace html {
namespace metrics {
interface FontMeasurements {
'100%': number;
'12pt': number;
'16px': number;
'1em': number;
'1ex': number;
large: number;
medium: number;
small: number;
'x-large': number;
'xx-large': number;
'x-small': number;
'xx-small': number;
}
interface Metrics {
getCachedFontMeasurements(recalculate?: boolean): FontMeasurements;
getFontMeasurements(): FontMeasurements;
getScrollbar(): dojo.DomGeometryWidthHeight;
getTextBox(text: string, style?: Object, className?: string): dojo.DomGeometryXYBox;
initOnFontResize(): void;
onFontResize(event: Event): void;
}
}
}
}
declare module 'dojox/html/metrics' {
const metrics: dojox.html.metrics.Metrics;
export = metrics;
}