Imagine if your JS could know when the browser was trying to paint frames? Buttery-smooth animations! Would love to get feedback to make sure you <3 this API. It's still experimental. We want all the feedback. https://discourse.wicg.io/t/proposal-window-isframepending/3791 … @rachelnabors @sarah_edo @greensock
-
Show this thread
-
It's called isFramePending. We're pretty excited about how it contributes to a set of APIs designed to allow code to yield more frequently. (These are baby steps obviously)
1 reply 0 retweets 1 likeShow this thread -
It matches another API developed by
@acomminos called isInputPending that lets you check if the user is trying to interact with the page so we can respond quickly to their clicks and taps. If you'd like to experiment with it, This is the origin trial:https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/0Bw-JW1POdw …2 replies 2 retweets 6 likesShow this thread -
If either of these sound good to you there are a few ways you can get involved: 1. A simple +1 on the discourse list helps us see what you care about 2. Sharing a use case on discourse is great too (but not necessary)
1 reply 0 retweets 1 likeShow this thread -
3. Participate in an experiment called an origin trial. You have to have high tolerance for churnnnnnn though. Thanks!!
1 reply 0 retweets 1 likeShow this thread -
And really, don't be shy, we build browsers for you.
^infinity1 reply 0 retweets 0 likesShow this thread -
Replying to @stubbornella @acomminos
Link from discourse thread to the explainer goes here, which describes `isInputPending` (and is a spec, not an explainer): https://wicg.github.io/is-input-pending/ … Can haz explainer link?
1 reply 0 retweets 1 like -
Oh, it's here: https://github.com/szager-chromium/isFramePending/blob/master/explainer.md … ...but it does not include example code or fit the usual explainer template
:https://github.com/w3ctag/w3ctag.github.io/blob/master/explainers.md …1 reply 0 retweets 0 likes -
Replying to @slightlylate @acomminos
We can add to it! Thanks for the link to the template. (And bear with me, still learning how standards go, feedback is very welcome!)
1 reply 0 retweets 1 like
Great, thanks! I know @sundress will appreciate a quality explainer.
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
& Web Standards TL; Blink API OWNER
Named PWAs w/
DMs open. Tweets my own; press@google.com for official comms.