Leadtools.Controls Namespace > ElementInsertionHelper Object : RemovePointerEventsFromRoot Method |
function Leadtools.Controls.ElementInsertionHelper.removePointerEventsFromRoot( rootElement )
Parameter | Type | Description |
---|---|---|
rootElement | Element | The root HTML element to remove pointer events from. |
Provided that pointer-events
changes are supported for HTML elements (via SupportsHTMLPointerEvents), RemovePointerEventsFromRoot adds the pointer-events: none
style to rootElement 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.