Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Type Aliases

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

Type declaration

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

Functions

  • mountOnTarget(target: Element, rendered: Element): void
  • Mount the rendered element in the target (using diffs)

    Parameters

    • target: Element

      The target in which the rendered element will be mounted

    • rendered: Element

      The rendered element to mount

    Returns void

  • Render the GDPR state inside the given target (provides re-render function)

    Parameters

    • target: Element

      The target in which the rendered element will be mounted

    • manager: GdprManager

      The manager to render

    • payload: RenderPayload

      The render configuration

    Returns Promise<ReRenderResult>

    The function to call to re-render