diff --git a/src/internal/form.ts b/src/internal/form.ts index 33992fcf..f10772b0 100644 --- a/src/internal/form.ts +++ b/src/internal/form.ts @@ -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; diff --git a/src/internal/slot.ts b/src/internal/slot.ts index 30d67e9f..93c461e9 100644 --- a/src/internal/slot.ts +++ b/src/internal/slot.ts @@ -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[] = [];