Skip to main content
cngx-src documentation

CngxOrganismScrollSyncOptions

Interface

projects/common/tabs/scroll-sync/organism-scroll-sync.ts

Import#

import { CngxOrganismScrollSyncOptions } from '@cngx/common/tabs'

Description#

Index#

Instance Properties#

activeId#Signal
Readonly

Reactive source for the active item id; tracked by the effect.

hostElement#HTMLElement
Readonly

Host element containing the per-item buttons. Items must carry id="${itemId}-header" - the convention used by <cngx-tab-group> and <cngx-stepper>.

injector#Injector
Readonly

Injector for installing the effect.

scrollOptions#ScrollIntoViewOptions
ReadonlyOptional

Forwarded to Element.scrollIntoView. Default: smooth-center along the inline axis. Override for vertical or instant scroll.