Type alias Method<TModel, TElt, TClass>

Method<TModel, TElt, TClass>: ((form: Form.Body<TModel, TElt, InstanceType<TClass>>, event: Event) => void)

Type Parameters

  • TModel

    Submitted model type.

  • TElt extends HTMLElement = HTMLElement

    A type of HTML form element.

  • TClass extends ComponentClass = Class

    A type of component class.

Type declaration

    • (form: Form.Body<TModel, TElt, InstanceType<TClass>>, event: Event): void
    • A signature of component method that handles form submit.

      Parameters

      • form: Form.Body<TModel, TElt, InstanceType<TClass>>
      • event: Event

      Returns void

Generated using TypeDoc