VirtualList.overlayBars# const · packages/mixins-ui/src/virtualList/overlayBars.ts:11
const overlayBars: readonly [Mixin < never > ]What draws the bar over upstream's list (ScrollBars , run from root), in
place of the browser's, on a pointer that can hover; pass it beside the
style. Not a default: its Mount sends no Message, yet a Scene test of every
page that drew one would have to resolve it.
VirtualList.view# function · packages/mixins-ui/src/virtualList.ts:45
function view < Item , Message >(
options: VirtualListView < Item , Message >,
h: HtmlBuilder < Message >,
) : Html VirtualList.VirtualListSlots# const · packages/mixins-ui/src/virtualList/slots.ts:8
const VirtualListSlots: Slots . Contract <{
readonly root: Slot . UnnamedSlot <
Capability . Capability <
'Container' ,
readonly [
Capability . Capability <
'Interactive' ,
readonly [Capability . Capability < 'Base' , readonly []> ]
>,
]
>,
readonly Slot . EventName [],
readonly Slot . AttributeName [],
readonly Slot . RequirementName [],
boolean
>
readonly row: Slot . UnnamedSlot <
Capability . Capability <
'Container' ,
readonly [
Capability . Capability <
'Interactive' ,
readonly [Capability . Capability < 'Base' , readonly []> ]
>,
]
>,
readonly Slot . EventName [],
readonly Slot . AttributeName [],
readonly Slot . RequirementName [],
boolean
>
readonly bar: Slot . UnnamedSlot <
Capability . Capability <
'Container' ,
readonly [
Capability . Capability <
'Interactive' ,
readonly [Capability . Capability < 'Base' , readonly []> ]
>,
]
>,
readonly Slot . EventName [],
readonly Slot . AttributeName [],
readonly Slot . RequirementName [],
boolean
>
readonly thumb: Slot . UnnamedSlot <
Capability . Capability <
'Container' ,
readonly [
Capability . Capability <
'Interactive' ,
readonly [Capability . Capability < 'Base' , readonly []> ]
>,
]
>,
readonly Slot . EventName [],
readonly Slot . AttributeName [],
readonly Slot . RequirementName [],
boolean
>
}> Show all 62 lines Around and inside upstream's list: root is the box the list scrolls
within, which gives it its height, and row is each row's content; the
overlay bar and its thumb sit beside upstream's list, in root.
VirtualList.VirtualListView# type · packages/mixins-ui/src/virtualList.ts:28
type VirtualListView < Item , Message > = Readonly <{
model: UiVirtualList . Model
items: ReadonlyArray < Item >
itemToKey : ( item: Item , index: number ) => string
itemToView : ( item: Item , index: number ) => Html
onMessage : ( message: UiVirtualList . Message ) => NoInfer < Message >
overscan?: number | undefined
style?: NamedStyle < typeof VirtualListSlots> | undefined
mixins?: MixinList < Message > | undefined
}> &
UiVirtualList . RowHeightInputs < Item >