Chrome 95 Canary has launched its straw API, which is great news!
I never expected this feature to be available, it is very practical! This API can get colors from anywhere on the screen, not just within the browser window. This may solve the pain point I encountered when using Figma before - I can only pick up colors from the Figma workspace, and cannot get colors from other areas of the screen.
To get a deeper look at this new technology, take a look at a sample program developed by Andrew Walpole in Chrome 95:
This program uses the straw API and uses petite-vue as the application framework. In my opinion, this is a very elegant way of expressing an interactive application. This new version of Vue is very novel and can be used directly in the browser and has attracted the attention of some developers. Dave Rupert and Andrew Welch also expressed their views respectively.
The above is the detailed content of EyeDropper API Dropped. For more information, please follow other related articles on the PHP Chinese website!