forcePointerEventsFromRoot Method

Summary

Forces rootElement and its descendants to respond to pointer events.

Syntax
TypeScript
JavaScript
forcePointerEventsFromRoot = function( 
   rootElement 
) 
static forcePointerEventsFromRoot( 
   rootElement: HTMLElement 
): void; 

Parameters

rootElement

The root HTML element to force pointer events capturing upon.

Remarks

Provided that pointer-events changes are supported for HTML elements (via SupportsHTMLPointerEvents), forcePointerEventsFromRoot and all its descendants. To clear these changes, refer to ClearPointerEventChanges or ClearPointerEventChangesFromRoot. To remove pointer events capturing, refer to RemovePointerEvents or RemovePointerEventsFromRoot.

See ElementInsertionHelper and ImageViewer-UserDefinedHTMLDisplay for more information.

Requirements

Target Platforms

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.