Safety mechanism to allow user applications to identify between real DOM events and artificial events fired by LCJS under some specific circumstances.
Most notably, "pointermove" events are repeated when a pointer is resting on a chart and the chart is re-rendering.
In some use cases it can be critical to know for sure that an event actually means user is moving their pointer.
// Example syntax chart.seriesBackground.addEventListener('pointermove', event=> { // Ignore artificial events if (isArtificialLCJSEvent(event)) return // ... })
Safety mechanism to allow user applications to identify between real DOM events and artificial events fired by LCJS under some specific circumstances.
Most notably,
"pointermove"events are repeated when a pointer is resting on a chart and the chart is re-rendering. In some use cases it can be critical to know for sure that an event actually means user is moving their pointer.