Docs
CodeRabbit
Cloudflare
AG Grid
SerpAPI
Netlify
OpenRouter
WorkOS
Clerk
Electric
PowerSync
Sentry
Railway
Prisma
Strapi
Unkey
CodeRabbit
Cloudflare
AG Grid
SerpAPI
Netlify
OpenRouter
WorkOS
Clerk
Electric
PowerSync
Sentry
Railway
Prisma
Strapi
Unkey
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:328

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()