From 1f2c1a242f8abd364890b1bea4c54e8eb15a25af Mon Sep 17 00:00:00 2001 From: Ray Nirola Date: Tue, 23 Apr 2024 13:00:58 +0530 Subject: [PATCH] update doc block --- src/dom/createShadowRoot.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/dom/createShadowRoot.ts b/src/dom/createShadowRoot.ts index f468dda..4b5bfc6 100644 --- a/src/dom/createShadowRoot.ts +++ b/src/dom/createShadowRoot.ts @@ -18,6 +18,7 @@ interface HTMLShadowDOMElement extends HTMLDivElement { * from the parent site's styles to prevent conflicts. * @param id the id of the shadow root. * @param options the optional options for the shadow root. + * @param isolate whether or not to isolate the extension's document flow from the parent site's document flow. * @returns A Div that represents the shadow root with some additional methods added to it. */ export function createShadowDOM(id: string, options?: ShadowRootInit, isolate = false): HTMLShadowDOMElement {