Skip to main content
cngx-src documentation

PanelRenderer

Interface

projects/forms/select/shared/panel-renderer.ts

Import#

import { PanelRenderer } from '@cngx/forms/select'

Description#

Renderer surface read by the panel.

Index#

Instance Properties#

renderOptions#Signal[]>
Readonly

Subset rendered into the DOM. Identity → flatOptions verbatim.

totalCount#Signal
ReadonlyOptional

Full count for aria-setsize; never the windowed count.

virtualizer#literal type
ReadonlyOptional

Virtualisation metadata the panel reads when present:

  • startIndex - absolute index of the first rendered item; bind data-cngx-recycle-index = startIndex + i per row.
  • offsetBefore / offsetAfter - spacer-div pixel heights.
  • setsize - total item count for aria-setsize.
  • scrollToIndex - invoked by the variant when AD nav exceeds the rendered window.