Interface OnSubmitDef<TModel, TElt>

Form submit handler definition.

Configures @OnSubmit component property decorator.

Type Parameters

  • TModel = any

  • TElt extends HTMLElement = HTMLElement

Hierarchy

  • OnSubmitDef

Properties

Properties

cancel?: boolean

Whether to cancel default submit handler.

true by default.

form?: ShareLocator<Form<TModel, TElt, any>>

A form to submit.

This is a shared form locator. Includes the decorated component into the search ({ local: 'too' }) by default.

A default form share is used when omitted.

Generated using TypeDoc