Leadtools.Controls Namespace > ElementInsertionHelper Object : ForcePointerEvents Method |
function Leadtools.Controls.ElementInsertionHelper.forcePointerEvents( elements )
Parameter | Type | Description |
---|---|---|
elements | object | The array of HTML elements for which to force pointer event capture. |
Provided that pointer-events
changes are supported for HTML elements (via SupportsHTMLPointerEvents), ForcePointerEvents adds the pointer-events: all
style for all elements in elements. To remove the ability to respond to capture pointer events, refer to RemovePointerEvents or RemovePointerEventsFromRoot. To clear changes made to pointer events, refer to ClearPointerEventChanges or ClearPointerEventChangesFromRoot.
See ElementInsertionHelper and ImageViewer_UserDefinedHTMLDisplay for more information.