tsify CompositionHelper

This commit is contained in:
Daniel Imms
2016-11-22 11:47:18 -08:00
parent b0df236dea
commit 30fcdd6ccb
3 changed files with 214 additions and 192 deletions
+6
View File
@@ -4,11 +4,17 @@
*/
export interface ITerminal {
element: HTMLElement;
rowContainer: HTMLElement;
ydisp: number;
lines: string[];
rows: number;
/**
* Emit the 'data' event and populate the given data.
* @param data The data to populate in the event.
*/
handler(data: string);
on(event: string, callback: () => void);
scrollDisp(disp: number, suppressScrollEvent: boolean);
}