blob: c558a8b1b86a3cc5facf477fe99bbf7ac396f0f7 (
plain)
1
2
3
4
5
6
7
8
9
10
|
/**
* Copyright (c) 2020 The xterm.js authors. All rights reserved.
* @license MIT
*/
export function removeElementFromParent(...elements: (HTMLElement | undefined)[]): void {
for (const e of elements) {
e?.parentElement?.removeChild(e);
}
}
|