mirror of
https://github.com/keymanapp/keyman.git
synced 2026-10-06 14:07:32 +00:00
26 lines
No EOL
832 B
TypeScript
26 lines
No EOL
832 B
TypeScript
interface Window {
|
|
attachEvent: (eventNameWithOn:string, callback: () => void) => void,
|
|
clientWidth: number
|
|
}
|
|
|
|
interface Document {
|
|
selection: any // Is IE only; TS ignores it because of this.
|
|
}
|
|
|
|
interface Element {
|
|
_kmwAttachment: any, // Used to track each input element's attachment data.
|
|
shim: HTMLElement, // Used in subkey elements for smooth fading.
|
|
|
|
styleSheet: CSSStyleDeclaration, // Extension of IE. TS ignores it because of this.
|
|
|
|
// Touch element extensions
|
|
base: HTMLElement, // Refers to the aliased element. Is a property of the alias.
|
|
_kmwResizeHandler: (e: any) => void,
|
|
|
|
// Used by our util.wait / util.alert system
|
|
dismiss: () => void
|
|
}
|
|
|
|
interface CSSStyleDeclaration {
|
|
MozBoxSizing: any
|
|
} |