Skip to main content

Shared options

Every contact element accepts:

BaseFieldOptions

Per-input customization used across single-field elements:

Values

FieldError.field

Methods

Every element supports the standard lifecycle:
  • element.mount(selector)
  • element.update(partialOptions)
  • element.submit(): void — validates and emits onSubmit / onError.
  • element.unmount()
  • element.destroy()
  • element.on(event, handler) — subscribe to events.

Events

Every element event is supported. See Events overview.
Last modified on July 27, 2026