getFormHandler | WebHare Platform SDK
WebHare Platform SDK
    Preparing search index...

    Function getFormHandler

    • Get the handler for a form element

      Type Parameters

      • FormType extends FormBase<object> = FormBase<Record<string, unknown>>

      Parameters

      • node: HTMLFormElement
      • options: { allowMissing: true }

      Returns null | FormType

    • Get the handler for a form element

      Type Parameters

      • FormType extends FormBase<object> = FormBase<Record<string, unknown>>

      Parameters

      • node: HTMLFormElement
      • Optionaloptions: { allowMissing?: boolean }

      Returns FormType