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 {