Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PanelPayload

Class definition for PanelPayload

exports

Hierarchy

Index

Constructors

  • new PanelPayload(event: EventStringId, handlerName: null | string): PanelPayload

Properties

event: EventStringId
handlerName: null | string

Methods

  • withButtonIdAndContent(event: EventStringId, handlerName: null | string, buttonId: string, content: Element | ReactNode): PanelAndContentPayload
  • Static method used to create a panel payload with additional buton ID and content information

    Parameters

    • event: EventStringId

      the event identifier for which the payload is constructed

    • handlerName: null | string

      the handler Name

    • buttonId: string

      the panel buton id

    • content: Element | ReactNode

      the content object

    Returns PanelAndContentPayload

    the PanelAndContentPayload object created

Generated using TypeDoc