## API Report File for "@fluentui/dom-utilities"

> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).

```ts

// @public (undocumented)
export const DATA_PORTAL_ATTRIBUTE = "data-portal-element";

// @public
export function elementContains(parent: HTMLElement | null, child: HTMLElement | null, allowVirtualParents?: boolean): boolean;

// @public
export function elementContainsAttribute(element: HTMLElement, attribute: string): string | null;

// @public
export function findElementRecursive(element: HTMLElement | null, matchFunction: (element: HTMLElement) => boolean): HTMLElement | null;

// @public
export function getChildren(parent: HTMLElement, allowVirtualChildren?: boolean): HTMLElement[];

// @public
export function getParent(child: HTMLElement, allowVirtualParents?: boolean): HTMLElement | null;

// @public
export function getVirtualParent(child: HTMLElement): HTMLElement | undefined;

// @public
export function isVirtualElement(element: HTMLElement | IVirtualElement): element is IVirtualElement;

// @public
export interface IVirtualElement extends HTMLElement {
    // (undocumented)
    _virtual: {
        parent?: IVirtualElement;
        children: IVirtualElement[];
    };
}

// @public
export function portalContainsElement(target: HTMLElement, parent?: HTMLElement): boolean;

// @public
export function setPortalAttribute(element: HTMLElement): void;

// @public
export function setVirtualParent(child: HTMLElement, parent: HTMLElement | null): void;


// (No @packageDocumentation comment for this package)

```
