preact-scroll-container
The component of preact
use
;... <SwipeContainer calss="container" currentPage="0" totalPage="4" soft=true onChange={console}> <ul> <li>...</li> <li>...</li> <li>...</li> <li>...</li> </ul> </SwipeContainer> ...
} }}