/**
 * @since Last modified: 2024/06/03 17:07:34
 * @constant eventMap
 * @description Obtain the collection of events based on the terminal. (Mouse events for desktop, touch events for mobile).
 * @returns {object} - Return events array.
 * @see {@link https://codepen.io/axui/pen/GRamRvR|demo @ codepen}
 * @example
 * ax.eventMap;
 * <!--return string[]-->
 */
'use strict';
import isMobi from './isMobi';
const eventMap = isMobi ? ['touchstart', 'touchmove', 'touchend', 'touchcancel'] : ['mousedown', 'mousemove', 'mouseup', 'mouseleave'];
export default eventMap;
