Function create

  • Create the pre-built UI element for the full-screen overlay

    Parameters

    • Optional onClick: (() => void)

      The callback fired when selected

        • (): void
        • Returns void

    • Optional style: UI.Element.Overlay.Style

      The Style to apply to the element

    Returns HTMLDivElement