For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /api/type-config.config.enableintersectionobserverinitialratiocompatibility.md.
This is the dev preview website. Check out the document at lynx-stack.dev

Home > @lynx-js/type-config > Config > enableIntersectionObserverInitialRatioCompatibility

Config.enableIntersectionObserverInitialRatioCompatibility property

Controls the first IntersectionObserver notification. When enabled, the current intersection ratio must differ from initialRatio and reach at least one configured threshold, including zero when the threshold is zero. When disabled, the first notification requires an intersection ratio strictly greater than initialRatio. Later notifications keep the threshold-crossing behavior.

Since: LynxSDK 4.5

Signature:

enableIntersectionObserverInitialRatioCompatibility?: boolean;

Default Value

false