pull/1186/head
Cory LaViska 2023-02-06 10:46:37 -05:00
rodzic 7549e50fe4
commit 039ab175c3
2 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -41,6 +41,7 @@ export interface FormControlControllerOptions {
setValue: (input: ShoelaceFormControl, value: unknown) => void;
}
/** A reactive controller to allow form controls to participate in form submission, validation, etc. */
export class FormControlController implements ReactiveController {
host: ShoelaceFormControl & ReactiveControllerHost;
form?: HTMLFormElement | null;

Wyświetl plik

@ -1,5 +1,6 @@
import type { ReactiveController, ReactiveControllerHost } from 'lit';
/** A reactive controller that determines when slots exist. */
export class HasSlotController implements ReactiveController {
host: ReactiveControllerHost & Element;
slotNames: string[] = [];