CardGroupView.cards
property · packages/mixins-ui/src/card.ts:231
readonly cards: ReadonlyArray<CardOfGroup<Message>>Each card, keyed so a card removed or moved keeps its neighbours' DOM.
Mixins / foldkit-mixins-ui
interface · packages/mixins-ui/src/card.ts:229
interface CardGroupView<Message> {
readonly cards: ReadonlyArray<CardOfGroup<Message>>
readonly columns?: number | undefined
readonly fluid?: CardGroupFluid | undefined
readonly label?: string | undefined
readonly wrap?:
((card: Html, source: CardOfGroup<Message>) => Html) | undefined
readonly style?: NamedStyle<typeof CardGroupSlots> | undefined
readonly cardStyle?: NamedStyle<typeof CardSlots> | undefined
readonly mixins?: MixinList<Message> | undefined
}Cards as one list: in one column or a grid, divided or apart, and, given
fluid, with one highlight that follows the pointer to the nearest card in
place of a hover on each.
CardGroupView.cardsproperty · packages/mixins-ui/src/card.ts:231
readonly cards: ReadonlyArray<CardOfGroup<Message>>Each card, keyed so a card removed or moved keeps its neighbours' DOM.
CardGroupView.columnsproperty · packages/mixins-ui/src/card.ts:236
readonly columns?: number | undefinedThe most columns; the recipe lays fewer where a column would be narrower
than its minColumn. More than one reads nearness in both directions. Default 1.
CardGroupView.fluidproperty · packages/mixins-ui/src/card.ts:238
readonly fluid?: CardGroupFluid | undefinedThe highlight: Card.fluid. Without one the group draws none, and cards hover on their own.
CardGroupView.labelproperty · packages/mixins-ui/src/card.ts:240
readonly label?: string | undefinedThe list's accessible name.
CardGroupView.wrapproperty · packages/mixins-ui/src/card.ts:242
readonly wrap?:
((card: Html, source: CardOfGroup<Message>) => Html) | undefinedDraws around each card, such as a link or a Tooltip's trigger.
CardGroupView.styleproperty · packages/mixins-ui/src/card.ts:244
readonly style?: NamedStyle<typeof CardGroupSlots> | undefinedA style of CardGroupSlots, for the group's frame and highlight.
CardGroupView.cardStyleproperty · packages/mixins-ui/src/card.ts:246
readonly cardStyle?: NamedStyle<typeof CardSlots> | undefinedA style of CardSlots for every card that names none of its own.
CardGroupView.mixinsproperty · packages/mixins-ui/src/card.ts:248
readonly mixins?: MixinList<Message> | undefinedMixins beside the style.