NuclearDispersionSystem/ant-design-vue-jeecg/node_modules/@antv/g2/esm/util/event.js
2023-09-14 14:47:11 +08:00

14 lines
347 B
Java

/**
* @ignore
* get view event name, with name:event
* @param type original event type
* @param name event trigger shape name
* @returns the name:event string
*/
export function getEventName(type, name) {
if (type.includes(':')) {
return type;
}
return name ? name + ":" + type : type;
}
//# sourceMappingURL=event.js.map