kopia lustrzana https://github.com/shoelace-style/shoelace
add comment
rodzic
7549e50fe4
commit
039ab175c3
|
@ -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;
|
||||
|
|
|
@ -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[] = [];
|
||||
|
|
Ładowanie…
Reference in New Issue