removePointerEventsFromRoot Method

Summary

Removes the ability of rootElement and its descendants to respond to pointer events.

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

Parameters

rootElement

The root HTML element to remove pointer events from.

Remarks

Provided that pointer-events changes are supported for HTML elements (via SupportsHTMLPointerEvents), removePointerEventsFromRoot and all its descendants. To clear these changes, refer to ClearPointerEventChanges or ClearPointerEventChangesFromRoot. To force pointer events to be captured, refer to ForcePointerEvents or ForcePointerEventsFromRoot.

See ElementInsertionHelper and ImageViewer-UserDefinedHTMLDisplay for more information.

Requirements

Target Platforms

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

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