Fieldset.FieldsetSlots# const · packages/mixins-ui/src/fieldset.ts:6
const FieldsetSlots: Slots . Contract <{
readonly fieldset: Slot . UnnamedSlot <
Capability . Capability <
'Container' ,
readonly [
Capability . Capability <
'Interactive' ,
readonly [Capability . Capability < 'Base' , readonly []> ]
>,
]
>,
readonly Slot . EventName [],
readonly [Attr . AttrToken < 'disabled' > ],
readonly Slot . RequirementName [],
boolean
>
readonly legend: Slot . UnnamedSlot <
Capability . Capability <
'Container' ,
readonly [
Capability . Capability <
'Interactive' ,
readonly [Capability . Capability < 'Base' , readonly []> ]
>,
]
>,
readonly Slot . EventName [],
readonly Slot . AttributeName [],
readonly Slot . RequirementName [],
boolean
>
readonly description: Slot . UnnamedSlot <
Capability . Capability <
'Container' ,
readonly [
Capability . Capability <
'Interactive' ,
readonly [Capability . Capability < 'Base' , readonly []> ]
>,
]
>,
readonly Slot . EventName [],
readonly Slot . AttributeName [],
readonly Slot . RequirementName [],
boolean
>
}> Show all 47 lines Fieldset.FieldsetView# interface · packages/mixins-ui/src/fieldset.ts:45
interface FieldsetView < Message > {
readonly id: string
readonly legend: string
readonly description?: string | undefined
readonly content: ReadonlyArray < Html >
readonly disabled?: boolean | undefined
readonly style?: NamedStyle < typeof FieldsetSlots> | undefined
readonly mixins?: MixinList < Message > | undefined
} A fieldset in one call: the legend that names the group, an optional
description under it, and the content the application drew. disabled
disables every control inside, as the native fieldset does. toView stays
for one drawn as something else.
Fieldset.resolve# function · packages/mixins-ui/src/fieldset.ts:23
function resolve < Input , Message >(
attributes: FieldsetAttributes < Message >,
mixins: MixinList < Message >,
context: ResolveContext < Input , Message >,
) : ResolvedFieldset < Message > Applies mixins to the fieldset's bundles.
Fieldset.ResolvedFieldset# type · packages/mixins-ui/src/fieldset.ts:16
type ResolvedFieldset < Message > = Resolved <
FieldsetAttributes < Message >,
typeof FieldsetSlots,
Message
> The fieldset's bundles with the attached Mixins applied.
Fieldset.toView# function · packages/mixins-ui/src/fieldset.ts:30
function toView < Message >(
mixins: MixinList < Message >,
context: ResolveContext < unknown , Message >,
draw : ( resolved: ResolvedFieldset < Message >) => Html ,
) : ( attributes: FieldsetAttributes < Message >) => Html The fieldset's toView: draw receives its bundles with mixins applied.
Fieldset.view# function · packages/mixins-ui/src/fieldset.ts:57
function view < Message >(
options: FieldsetView < Message >,
h: HtmlBuilder < Message >,
) : Html