]> git.proxmox.com Git - mirror_xterm.js.git/blob - src/Interfaces.ts
Update documentation with cleaner license declaration
[mirror_xterm.js.git] / src / Interfaces.ts
1 /**
2 * @license MIT
3 */
4
5 export interface ITerminal {
6 element: HTMLElement;
7 rowContainer: HTMLElement;
8 ydisp: number;
9 lines: string[];
10 rows: number;
11
12 /**
13 * Emit the 'data' event and populate the given data.
14 * @param data The data to populate in the event.
15 */
16 handler(data: string);
17 on(event: string, callback: () => void);
18 scrollDisp(disp: number, suppressScrollEvent: boolean);
19 }