Interface FloatReference

interface FloatReference {
    anchorElement: (() => any);
    close: ((delay?) => Promise<void>);
    closeAll: (() => Promise<void>);
    closeChild: ((delay?) => Promise<void>);
    floatElement: (() => HTMLElement);
    isRoot: boolean;
    key: FloatReferenceKey;
    onChildHidden: (() => void);
    onChildVisible: (() => void);
    parent: FloatReference;
    open(delay?): void;
}

Properties

anchorElement: (() => any)

Type declaration

    • (): any
    • Returns any

close: ((delay?) => Promise<void>)

Type declaration

    • (delay?): Promise<void>
    • Parameters

      • Optional delay: number

      Returns Promise<void>

closeAll: (() => Promise<void>)

Type declaration

    • (): Promise<void>
    • Returns Promise<void>

closeChild: ((delay?) => Promise<void>)

Type declaration

    • (delay?): Promise<void>
    • Parameters

      • Optional delay: number

      Returns Promise<void>

floatElement: (() => HTMLElement)

Type declaration

    • (): HTMLElement
    • Returns HTMLElement

isRoot: boolean
onChildHidden: (() => void)

Type declaration

    • (): void
    • Returns void

onChildVisible: (() => void)

Type declaration

    • (): void
    • Returns void

Methods

  • Parameters

    • Optional delay: number

    Returns void