Leadtools.Controls Namespace > ElementInsertionHelper Object : ClearPointerEventChangesFromRoot Method |
function Leadtools.Controls.ElementInsertionHelper.clearPointerEventChangesFromRoot( rootElement )
Parameter | Type | Description |
---|---|---|
rootElement | Element | The root HTML element to clear pointer event changes from. |
Provided that pointer-events
changes are supported for HTML elements (via SupportsHTMLPointerEvents), ClearPointerEventChangesFromRoot clears any inline styles for the pointer-events
attribute for rootElement and all its descendants. To force pointer events to be captured, refer to ForcePointerEvents or ForcePointerEventsFromRoot. To remove pointer events capture, refer to RemovePointerEvents or RemovePointerEventsFromRoot.
See ElementInsertionHelper and ImageViewer_UserDefinedHTMLDisplay for more information.