CardView.title
property · packages/mixins-ui/src/card.ts:73
readonly title?: string | undefinedMixins / foldkit-mixins-ui
interface · packages/mixins-ui/src/card.ts:72
interface CardView<Message> {
readonly title?: string | undefined
readonly headingLevel?: 2 | 3 | 4 | 5 | 6 | undefined
readonly description?: string | undefined
readonly content?: Html | undefined
readonly image?: Html | undefined
readonly media?: Html | undefined
readonly action?: Html | undefined
readonly footer?: Html | undefined
readonly press?: Press<Message> | undefined
readonly label?: string | undefined
readonly selected?: boolean | undefined
readonly disabled?: boolean | undefined
readonly dismiss?: CardDismiss<Message> | undefined
readonly recoveryPart?: string | undefined
readonly words?: Partial<CardWords> | undefined
readonly style?: NamedStyle<typeof CardSlots> | undefined
readonly mixins?: MixinList<Message> | undefined
}A card in one call: the regions it has, what pressing it does, its state, a style for its slots, and mixins beside the style. No upstream component stands behind it; this is the whole implementation.
CardView.titleproperty · packages/mixins-ui/src/card.ts:73
readonly title?: string | undefinedCardView.headingLevelproperty · packages/mixins-ui/src/card.ts:75
readonly headingLevel?: 2 | 3 | 4 | 5 | 6 | undefinedThe level of the heading that holds the title, for the page's outline. Default 3.
CardView.descriptionproperty · packages/mixins-ui/src/card.ts:76
readonly description?: string | undefinedCardView.contentproperty · packages/mixins-ui/src/card.ts:77
readonly content?: Html | undefinedCardView.imageproperty · packages/mixins-ui/src/card.ts:79
readonly image?: Html | undefinedA banner across the top of a stacked card, a square beside an inline one.
CardView.mediaproperty · packages/mixins-ui/src/card.ts:81
readonly media?: Html | undefinedA leading icon or logo, drawn in a small tile.
CardView.actionproperty · packages/mixins-ui/src/card.ts:83
readonly action?: Html | undefinedControls at the top end of the header, pressable above a pressable card.
CardView.footerproperty · packages/mixins-ui/src/card.ts:84
readonly footer?: Html | undefinedCardView.pressproperty · packages/mixins-ui/src/card.ts:85
readonly press?: Press<Message> | undefinedCardView.labelproperty · packages/mixins-ui/src/card.ts:87
readonly label?: string | undefinedThe press's accessible name; the title when omitted, and required without one.
CardView.selectedproperty · packages/mixins-ui/src/card.ts:89
readonly selected?: boolean | undefinedChosen: aria-pressed on a pressing button, aria-current="page" on a link.
CardView.disabledproperty · packages/mixins-ui/src/card.ts:90
readonly disabled?: boolean | undefinedCardView.dismissproperty · packages/mixins-ui/src/card.ts:91
readonly dismiss?: CardDismiss<Message> | undefinedCardView.recoveryPartproperty · packages/mixins-ui/src/card.ts:96
readonly recoveryPart?: string | undefinedThe name of the dismiss button in the parts of the FocusRecovery.behavior on the list
holding the cards, which the application owns: the button marks itself that part.
CardView.wordsproperty · packages/mixins-ui/src/card.ts:98
readonly words?: Partial<CardWords> | undefinedThe dismiss button's name and mark, and what a new-tab link says.
CardView.styleproperty · packages/mixins-ui/src/card.ts:100
readonly style?: NamedStyle<typeof CardSlots> | undefinedA style of CardSlots, for the card's look.
CardView.mixinsproperty · packages/mixins-ui/src/card.ts:102
readonly mixins?: MixinList<Message> | undefinedMixins beside the style.