Data grid / foldkit-mixins-data-grid
GridLegend
function · packages/mixins-data-grid/src/marks.ts:85
function GridLegend<Message>(): SlotView.SlotView<
Slots.Contract<{
readonly legend: Slot.UnnamedSlot<
Slot.SlotCapability,
readonly Slot.EventName[],
readonly [Attr.AttrToken<'aria-label'>],
readonly Slot.RequirementName[],
boolean
>
readonly legendItem: Slot.UnnamedSlot<
Slot.SlotCapability,
readonly Slot.EventName[],
readonly Slot.AttributeName[],
readonly Slot.RequirementName[],
boolean
>
readonly legendSwatch: Slot.UnnamedSlot<
Slot.SlotCapability,
readonly Slot.EventName[],
readonly Slot.AttributeName[],
readonly Slot.RequirementName[],
boolean
>
}>,
GridLegendInput,
Message
>A legend of the marks, each beside a swatch drawn by the same rules as the
cells (GridMarkStyle styles both), so the two cannot drift apart.
In the guides
- Build outwardSync / Editing server data