assign element in render call

This commit is contained in:
meganrogge
2022-03-09 08:46:09 -06:00
parent e797070121
commit 724bbebc14
2 changed files with 8 additions and 6 deletions
+2 -2
View File
@@ -427,8 +427,8 @@ declare module 'xterm' {
readonly onRender: IEvent<HTMLElement>;
/**
* The HTMLElement that gets created after the
* first _onRender call, or undefined if accessed before
* The HTMLElement that gets created or drawn to (for scrollbar decorations)
* after the first _onRender call, or undefined if accessed before
* that.
*/
readonly element: HTMLElement | undefined;