Class IgcFormComponent

The form is a component used to collect user input from interactive controls.

Element

igc-form

Slot

  • Default slot for the form.

Fires

igcSubmit - Emitted when the form is submitted.

Fires

igcReset - Emitted when the form is reset.

Deprecated

since version 4.4.0. Use the native <form> element instead.

Hierarchy

Hierarchy

  • EventEmitterInterface<IgcFormEventMap, this> & LitElement<this>
    • IgcFormComponent

Constructors

Properties

novalidate: boolean = false

Specifies if form data validation should be skipped on submit.

styles: CSSResult = ...
tagName: "igc-form" = 'igc-form'

Methods

  • Type parameters

    Type Parameters

    • K extends keyof IgcFormEventMap
    • D extends any

    Parameters

    • type: K
    • Optional eventInitDict: CustomEventInit<D>

    Returns boolean