ItemView.header
property · packages/mixins-ui/src/item.ts:48
readonly header?: Html | undefinedA band across the top of the row, above the media and the title; pressable above a pressable row.
Mixins / foldkit-mixins-ui
interface · packages/mixins-ui/src/item.ts:46
interface ItemView<Message = never> {
readonly header?: Html | undefined
readonly footer?: Html | undefined
readonly content?: Html | undefined
readonly media?: Html | undefined
readonly title?: string | undefined
readonly description?: string | undefined
readonly actions?: Html | undefined
readonly press?: Press<Message> | undefined
readonly label?: string | undefined
readonly selected?: boolean | undefined
readonly disabled?: boolean | undefined
readonly words?: Partial<ItemWords> | undefined
readonly style?: NamedStyle<typeof ItemSlots> | undefined
readonly mixins?: MixinList<Message> | undefined
}A row in one call: the regions it earns, what pressing it does, its
state, a style for its slots, and mixins beside the style. content
follows the title and description in the content region. No upstream
component stands behind it.
ItemView.headerproperty · packages/mixins-ui/src/item.ts:48
readonly header?: Html | undefinedA band across the top of the row, above the media and the title; pressable above a pressable row.
ItemView.footerproperty · packages/mixins-ui/src/item.ts:50
readonly footer?: Html | undefinedA band across the bottom of the row; pressable above a pressable row.
ItemView.contentproperty · packages/mixins-ui/src/item.ts:51
readonly content?: Html | undefinedItemView.mediaproperty · packages/mixins-ui/src/item.ts:53
readonly media?: Html | undefinedAn icon, an avatar or a picture at the start.
ItemView.titleproperty · packages/mixins-ui/src/item.ts:54
readonly title?: string | undefinedItemView.descriptionproperty · packages/mixins-ui/src/item.ts:55
readonly description?: string | undefinedItemView.actionsproperty · packages/mixins-ui/src/item.ts:57
readonly actions?: Html | undefinedControls at the end, pressable above a pressable row.
ItemView.pressproperty · packages/mixins-ui/src/item.ts:59
readonly press?: Press<Message> | undefinedWhat pressing the row does: send a Message, or follow a link.
ItemView.labelproperty · packages/mixins-ui/src/item.ts:61
readonly label?: string | undefinedThe press's accessible name; the title when omitted, and required without one.
ItemView.selectedproperty · packages/mixins-ui/src/item.ts:63
readonly selected?: boolean | undefinedChosen: aria-pressed on a pressing button, aria-current on a link.
ItemView.disabledproperty · packages/mixins-ui/src/item.ts:64
readonly disabled?: boolean | undefinedItemView.wordsproperty · packages/mixins-ui/src/item.ts:66
readonly words?: Partial<ItemWords> | undefinedWhat a link opening a new tab says.
ItemView.styleproperty · packages/mixins-ui/src/item.ts:68
readonly style?: NamedStyle<typeof ItemSlots> | undefinedA style of ItemSlots, for the row's look.
ItemView.mixinsproperty · packages/mixins-ui/src/item.ts:70
readonly mixins?: MixinList<Message> | undefinedMixins beside the style.