IOS load prompt box

request that many news interfaces are used. After the drop-down refresh, a prompt box comes out and studies how this is not found. Does anyone know?
is the yellow box that has updated 8 pieces of information for you

Mar.03,2021

Let me guess, if it's an H5 implementation, do you listen to the drop-down plug-in, then add a div layer at the top of the page, display 8 updated messages and prop up that location, and then set it for 3 seconds and fade away.

you can look at the immediate implementation, which I think is essentially consistent. In addition, if you need some dynamic effects, such as instantly sliding down from the gray drop-down at the top of the page, I suspect this may be natively implemented.

google search to find for yourself, many, the principle is: listen for drop-down events, add a div, for a period of time, div disappears
I randomly search and find two:
a href= "https://github.com/minirefresh/minirefresh" rel=" nofollow noreferrer "https://github.com/minirefres.
https://github.com/ximan/drop.

if you want a native implementation, see
https://itbilu.com/javascript.

.

understand, thank you, if you have any more questions, how is it realized? is there a corresponding library? Baidu did not find the corresponding thing all day

Menu