UNPKG

@lookwe/lui

Version:

Lookwe UI web components

17 lines (16 loc) 597 B
import { ReactiveController, ReactiveControllerHost } from 'lit'; import { WithElementInternals } from '@lookwe/lit-mixins/element-internals'; export interface FormSubmitterControllerHost extends HTMLElement, ReactiveControllerHost, WithElementInternals { type: 'button' | 'reset' | 'submit'; name: string; value: string; } /** * A controller that handles click to submit form. */ export declare class FormSubmitterController implements ReactiveController { #private; constructor(host: FormSubmitterControllerHost); hostConnected(): void; hostDisconnected(): void; }