()
| 1105 | }); |
| 1106 | |
| 1107 | function reduceMotion() { |
| 1108 | return window.matchMedia('(prefers-reduced-motion: reduce)').matches; |
| 1109 | } |
| 1110 | |
| 1111 | function scrollAlongAxis(element: HTMLElement, axis: Axis, value: number, smooth = false) { |
| 1112 | let behavior: ScrollBehavior | undefined = smooth && !reduceMotion() ? 'smooth' : undefined; |
no outgoing calls
no test coverage detected