Docs
Cloudflare
Railway
CodeRabbit
AG Grid
Netlify
OpenRouter
Clerk
SerpAPI
WorkOS
Unkey
Prisma
Electric
Sentry
Cloudflare
Railway
CodeRabbit
AG Grid
Netlify
OpenRouter
Clerk
SerpAPI
WorkOS
Unkey
Prisma
Electric
Sentry
Table API Reference
Column API Reference
Row API Reference
Cell API Reference
Header API Reference
Features API Reference
Static Functions API Reference
Legacy API Reference
Static Functions API Reference

passiveEventSupported

Function: passiveEventSupported()

ts
function passiveEventSupported(): boolean;
function passiveEventSupported(): boolean;

Defined in: features/column-resizing/columnResizingFeature.utils.ts:329

Detects whether the current environment supports passive event listeners.

Column resizing uses this to register pointer and touch listeners with passive: false only when the environment understands passive options.

Returns

boolean

Example

ts
const canUsePassiveListeners = passiveEventSupported()
const canUsePassiveListeners = passiveEventSupported()