Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IRenderer

A dialog renderer.

Hierarchy

  • IRenderer

Index

Methods

createBody

  • createBody(body: Body<any>): Widget
  • Create the body of the dialog.

    Parameters

    Returns Widget

    A widget for the body.

createButtonNode

  • createButtonNode(button: IButton): HTMLElement
  • Create a button node for the dialog.

    Parameters

    Returns HTMLElement

    A node for the button.

createFooter

  • createFooter(buttons: ReadonlyArray<HTMLElement>): Widget
  • Create the footer of the dialog.

    Parameters

    • buttons: ReadonlyArray<HTMLElement>

      The button nodes to add to the footer.

    Returns Widget

    A widget for the footer.

createHeader

  • createHeader<T>(title: Header, reject: () => void, options: Partial<IOptions<T>>): Widget
  • Create the header of the dialog.

    Type parameters

    • T

    Parameters

    • title: Header

      The title of the dialog.

    • reject: () => void
        • (): void
        • Returns void

    • options: Partial<IOptions<T>>

    Returns Widget

    A widget for the dialog header.

Generated using TypeDoc