mirror of
https://github.com/wavetermdev/xterm.js.git
synced 2026-08-05 13:43:48 -07:00
Merge pull request #1094 from Tyriar/1089_open_parent_visible
Clarify that parent needs to be visible when calling open
This commit is contained in:
Vendored
+3
-1
@@ -290,7 +290,9 @@ declare module 'xterm' {
|
||||
|
||||
/**
|
||||
* Opens the terminal within an element.
|
||||
* @param parent The element to create the terminal within.
|
||||
* @param parent The element to create the terminal within. This element
|
||||
* must be visible (have dimensions) when `open` is called as several DOM-
|
||||
* based measurements need to be performed when this function is called.
|
||||
*/
|
||||
open(parent: HTMLElement): void;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user