Mixins / foldkit-mixins-ui
ButtonSlots
const · packages/mixins-ui/src/button.ts:11
const ButtonSlots: Slots.Contract<{
readonly button: Slot.UnnamedSlot<
Capability.Capability<
'Interactive',
readonly [Capability.Capability<'Base', readonly []>]
>,
readonly [Event.EventToken<'click'>],
readonly [
Attr.AttrToken<'role'>,
Attr.AttrToken<'aria-disabled'>,
Attr.AttrToken<'disabled'>,
Attr.AttrToken<'aria-pressed'>,
],
readonly Slot.RequirementName[],
boolean
>
}>The button publishes one slot. click is owned by the base OnClick when
the button is interactive, so a Behavior that adds its own click handler is a
conflict rather than a second silent owner.
In the guides
- Style: appearance as dataMixins / foldkit-mixins
- What resolve doesMixins / foldkit-mixins-ui