Versions in this module Expand all Collapse all v4 v4.2.0 Jul 5, 2026 v4.1.1 Jul 5, 2026 v4.1.0 Jul 5, 2026 v4.0.1 Jun 29, 2026 v4.0.0 Jun 29, 2026 Changes in this version + func List[T any](parseProps ListProps[T]) ui.Node + type ListProps struct + Class string + Empty ui.Node + Height float64 + ID string + InnerClass string + ItemKey func(T) string + Items []T + OnViewportChange func(ViewportDiagnostics) + OuterProps html.Props + Overscan int + RenderRow func(RowRenderProps[T]) ui.Node + RowHeight float64 + Style map[string]string + type Range struct + End int + Start int + func (parseR Range) Len() int + type RowRenderProps struct + Index int + Item T + Key string + RenderedRange Range + VisibleRange Range + type Subscription struct + func ObserveOwnedViewport(_ interop.Element, parseViewportConfig ViewportConfig, _ func(ViewportState)) (Subscription, error) + func ObserveOwnedViewport(parseViewportElement interop.Element, parseViewportConfig ViewportConfig, ...) (Subscription, error) + func (parseSubscription Subscription) Cancel() + type ViewportConfig struct + Overscan int + RowHeight float64 + TotalItems int + type ViewportDiagnostics struct + InvalidationCount int + MeasurementCount int + Overscan int + OverscanAfterCount int + OverscanBeforeCount int + RenderedCount int + RenderedEnd int + RenderedStart int + RowHeight float64 + RowMountCount int + RowUnmountCount int + ScrollCorrectionCount int + ScrollTop float64 + TotalHeight float64 + TotalItems int + ViewportHeight float64 + VisibleCount int + VisibleEnd int + VisibleStart int + func (parseD ViewportDiagnostics) WithRowLifecycle(parseMounts, parseUnmounts int) ViewportDiagnostics + type ViewportState struct + Overscan int + Rendered Range + RowHeight float64 + ScrollTop float64 + TotalHeight float64 + TotalItems int + ViewportHeight float64 + Visible Range + func ComputeViewportState(parseConfig ViewportConfig, parseScrollTop, parseViewportHeight float64) (ViewportState, error) + func (parseS ViewportState) Diagnostics() ViewportDiagnostics