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