How does ionicSlideBox implement the snapping effect?

I want to do a (vertical) ionicScroll with a snapping effect to the nearest .list .item. I’d like to see how they did it with ionicSlideBox, but it seems to be happening below the ionicSlideBox directive. Can someone get me a line in ionic.bundle.js for a breakpoint?

The snapping happens, when the tochmove ends, so i think it’s happening in the function in line 8433 in ionic.bundle.js

1 Like