(event: TransitionEvent)
| 82 | // settling; and a release exactly at a stop transitions nothing, so the |
| 83 | // timer ends the settle when no event will. |
| 84 | const onTransitionEnd = (event: TransitionEvent) => { |
| 85 | if (event.target === panel) { |
| 86 | endSettle(); |
| 87 | } |
| 88 | }; |
| 89 | const timer = setTimeout(() => endSettle(), motion.snap + 80); |
| 90 | endSettle = () => { |
| 91 | endSettle = () => undefined; |
nothing calls this directly
no test coverage detected