UNPKG

motion-plus-vue

Version:

Motion Plus Vue

15 lines (14 loc) 204 B
function t(n) { return (o) => { o.pointerType === "mouse" && n(o); }; } function u(n) { return t((o) => { o.button === 0 && n(o); }); } export { u as onlyLeftClicks, t as onlyMouse };