I am working on a shopping mall page recently. There is a function in the shopping cart that allows you to slide your finger to the left to display a delete button. How can I achieve this? This function is based on JD.com’s shopping cart~
滿天的星座2017-06-10 09:51:10
There is no API out of the box, but link description can be implemented through events
Case reference address
扔个三星炸死你2017-06-10 09:51:10
Make the width a little longer and set overflow:hidden, and then add the gesture time. When swiping left, the left will be displayed to slide out the hidden delete button
At least that’s what I wrote in other projects