Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface DestroyableCallbackRenderer

A callback renderer that implements destroy().

Hierarchy

Implemented by

Index

Properties

destroy

destroy: () => void

Type declaration

    • (): void
    • Returns void

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