Interface Whole<TModel, TElt, TSharer>

A whole form instance containing controls.

Type Parameters

  • TModel = any

    A model type of the form, i.e. a type of its control value.

  • TElt extends HTMLElement = HTMLElement

    A type of HTML form element.

  • TSharer extends object = any

    Form sharer component type.

Hierarchy

  • Form<TModel, TElt, TSharer>
    • Whole

Properties

body: Form.Body<TModel, TElt, TSharer>

Form body.

control: InControl<TModel>

Submittable form input control.

element: InFormElement<any>

Form element control.

Unlike input control this one is not supposed to be submitted, but rather contains a <form> element issuing a submit event.

Accessors

  • get read(): AfterEvent<[TBody]>
  • An AfterEvent keeper of shareable body.

    An [AfterEvent__symbol] method always returns this value.

    Returns AfterEvent<[TBody]>

  • get sharer(): ComponentContext<TSharer>
  • Sharer component context.

    Accessing it throws an exception until bound to sharer.

    Returns ComponentContext<TSharer>

Methods

  • Returns AfterEvent<[undefined | Form.Body<TModel, TElt, any>]>

Generated using TypeDoc