As shown in the picture, the effect of JD’s category column is similar to Taobao’s category. They both use the form of transform translateY(-877px)
instead of using fixed directly. If you want to use it in Angular, It seems like I need to use commands, right? Do I need to capture the gesture direction in the area and dynamically change the value of translateY
?
Can you give me some ideas?
Angular animate api, but the implementation of each version is different
Have you achieved this effect? How is it achieved? Can you give me some guidance?