- vừa được xem lúc

Snippets and live expressions - DevTools Tips

0 0 7

Người đăng: Google Chrome Developers

Are you running the same code repeatedly during debugging? Learn how to use snippets and live expressions to speed them up!

Chapters:
0:00 Intro
0:13 Create a snippet.
0:35 3 ways to run a snippet in the Snippets pane
0:56 Run a snippet anywhere in DevTools
1:49 Web Performance snippets
2:01 2 ways to pass in parameters to a snippet
2:58 Using console utilities in snippets
3:17 Live expressions

Resources:
Check out → https://goo.gle/devtools-snippets
Learn more → https://goo.gle/devtools-live-expressions
Console utilities API → https://goo.gle/devtools-console-utils
Web performance snippets → https://goo.gle/45QyHgP

Questions? Tweet to us:
Jecelyn Yeen → https://goo.gle/jecfish
Chrome DevTools → https://goo.gle/chromedevtools

Catch more DevTools Tips → https://goo.gle/DevToolsTips
Subscribe to Google Chrome Developers → https://goo.gle/ChromeDevs

#DevToolsTips

Bình luận

Bài viết tương tự

- vừa được xem lúc

Chrome 88 - What’s New in DevTools

New to DevTools in Chrome 88:. . What’s new in DevTools (Chrome 88) → http://goo.gle/3owkBMr.

0 0 29

- vừa được xem lúc

New in Chrome 88: Manifest v3, aspect-ratio, digital goods API, and more!

Chrome 88 is rolling out now! You can now upload extensions using manifest v 3 to the Chrome Web Store. The aspect-ratio CSS property makes it easy to set the aspect ratio on any element.

0 0 18

- vừa được xem lúc

Thinking on ways to solve a SIDENAV

In today’s GUI challenge we create a responsive, accessible slide out side navigation user experience using CSS and JS. The sidenav works on multiple browsers, screen sizes and input devices.

0 0 35

- vừa được xem lúc

Dithering - HTTP 203

How do you take an image with 256 shades of grey and map it to an image with just two colors? Jake and Surma go down the monochrome image dithering rabbit hole and explain how different dithering tech

0 0 29

- vừa được xem lúc

Submission shoutouts for SIDENAV

We asked the community to build a sidenav component your way and you all delivered! Check out the submissions:. @a_nurella → http://goo.gle/3j9bmQm. @mayeedwin1 → http://goo.

0 0 17

- vừa được xem lúc

JavaScript counters the hard way - HTTP 203

You’ve seen loads of counter tutorials online, but they’re all a bit wrong… or at least most of them are. Jake and Surma dissect different techniques and identify how to make the counter work accurate

0 0 34