SafetyScreen-ui/node_modules/@interactjs/core/isNonNativeEvent.js

14 lines
328 B
JavaScript
Raw Normal View History

2025-03-29 19:33:58 +08:00
export default function isNonNativeEvent(type, actions) {
if (actions.phaselessTypes[type]) {
return true;
}
for (const name in actions.map) {
if (type.indexOf(name) === 0 && type.substr(name.length) in actions.phases) {
return true;
}
}
return false;
}
//# sourceMappingURL=isNonNativeEvent.js.map