Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface FocusableCallbackRenderer

A callback renderer that implements focus().

Hierarchy

Implemented by

Index

Properties

Optional destroy

destroy: undefined | (() => void)

Handles any cleanup necessary after a step has been handled.

focus

focus: () => void

Type declaration

    • (): void
    • Returns void

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