mirror of
https://github.com/yudai/gotty.git
synced 2026-02-19 06:28:07 +01:00
xtermjs: fix inital load term size
This commit is contained in:
parent
53e31a964e
commit
71b9db14e2
6 changed files with 179 additions and 110 deletions
9
js/dist/waitFor.d.ts
vendored
Normal file
9
js/dist/waitFor.d.ts
vendored
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
/**
|
||||
* Waits for a DOM element matching the selector to exist in the document.
|
||||
* Resolves immediately if it already exists.
|
||||
*
|
||||
* @param selector CSS selector for the element to wait for
|
||||
* @param timeout Optional timeout in milliseconds (default: no timeout)
|
||||
* @returns Promise that resolves with the found element
|
||||
*/
|
||||
export declare function waitForElement<T extends Element>(selector: string, timeout?: number): Promise<T>;
|
||||
Loading…
Add table
Add a link
Reference in a new issue