Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface CallbackRenderer

Represents a callback renderer that can be consumed by a step handler.

Hierarchy

Implemented by

Index

Properties

Optional destroy

destroy: undefined | (() => void)

Handles any cleanup necessary after a step has been handled.

Optional focus

focus: undefined | (() => void)

Prepares the UI element for user interaction.

Optional isValid

isValid: undefined | (() => boolean)

Gets whether the callback is valid for submission.

Optional onInjected

onInjected: undefined | (() => void)

Handles any actions required after the callback's UI has been added to the DOM.

render

render: () => HTMLElement

Generates the UI for the callback and returns its top-level DOM element.

Type declaration

    • (): HTMLElement
    • Returns HTMLElement