hasPointerEvents.d.ts 535 B

123456789101112131415
  1. /**
  2. * Options that can be passed to any event that relies
  3. * on pointer-events property
  4. */
  5. export declare interface PointerOptions {
  6. /**
  7. * When set to `true` the event skips checking if any element
  8. * in the DOM-tree has `'pointer-events: none'` set. This check is
  9. * costly in general and very costly when rendering large DOM-trees.
  10. * Can be used to speed up tests.
  11. * Default: `false`
  12. * */
  13. skipPointerEventsCheck?: boolean;
  14. }
  15. export declare function hasPointerEvents(element: Element): boolean;