/**
 * @since Last modified: 2024/06/03 17:08:08
 * @constant scrollObj
 * @description Standardize the browser's wheel object, including the event and details properties.
 * @returns  {object} - A object including the event and details properties.
 * @see {@link https://codepen.io/axui/pen/mdYWYvv|demo @ codepen}
 * @example
 * ax.scrollObj;
 * <!--return {event,details}-->
 */


'use strict';

const scrollObj = navigator.userAgent.indexOf("Firefox") > 0 ? { event: 'DOMMouseScroll', detail: 'detail' } : { event: 'mousewheel', detail: 'wheelDelta' };
export default scrollObj;
