MCPcopy Create free account
hub / github.com/feiyu563/PrometheusAlert / createEvent

Function createEvent

static/plugins/chart.js/Chart.js:7542–7550  ·  view source on GitHub ↗
(type, chart, x, y, nativeEvent)

Source from the content-addressed store, hash-verified

7540}
7541
7542function createEvent(type, chart, x, y, nativeEvent) {
7543 return {
7544 type: type,
7545 chart: chart,
7546 native: nativeEvent || null,
7547 x: x !== undefined ? x : null,
7548 y: y !== undefined ? y : null,
7549 };
7550}
7551
7552function fromNativeEvent(event, chart) {
7553 var type = EVENT_TYPES[event.type] || event.type;

Callers 2

fromNativeEventFunction · 0.70
addResizeListenerFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected