Web pages and apps used to demo various DevTools, PWA, WebView, Extensions, and Web Platform features of Microsoft Edge
Перейти к файлу
Patrick Brosset 5ea1357a99 Offline support for wami 2022-09-29 15:18:47 +02:00
1DIV Rename docs.m.c to learn.m.c 2022-09-27 12:27:35 +02:00
css-mirroring-sourcemaps-demo Adding demo zip 2022-04-07 23:31:34 +02:00
custom-highlight-api Revised all READMEs 2022-08-25 11:34:48 +02:00
demo-to-do Rename docs.m.c to learn.m.c 2022-09-27 12:27:35 +02:00
detached-elements Rename docs.m.c to learn.m.c 2022-09-27 12:27:35 +02:00
devtools-3d Rename docs.m.c to learn.m.c 2022-09-27 12:27:35 +02:00
devtools-a11y-testing Rename docs.m.c to learn.m.c 2022-09-27 12:27:35 +02:00
devtools-console Rename docs.m.c to learn.m.c 2022-09-27 12:27:35 +02:00
devtools-contrast-bugfix Revised all READMEs 2022-08-25 11:34:48 +02:00
devtools-css-get-started Rename docs.m.c to learn.m.c 2022-09-27 12:27:35 +02:00
devtools-dom-get-started Rename docs.m.c to learn.m.c 2022-09-27 12:27:35 +02:00
devtools-extension New devtools extension source code 2022-09-27 12:26:15 +02:00
devtools-inspect Rename docs.m.c to learn.m.c 2022-09-27 12:27:35 +02:00
devtools-js-get-started Rename docs.m.c to learn.m.c 2022-09-27 12:27:35 +02:00
devtools-memory-heap-snapshot Rename docs.m.c to learn.m.c 2022-09-27 12:27:35 +02:00
devtools-performance-activitytabs Rename docs.m.c to learn.m.c 2022-09-27 12:27:35 +02:00
devtools-performance-get-started Rename docs.m.c to learn.m.c 2022-09-27 12:27:35 +02:00
devtools-target-pseudo Rename docs.m.c to learn.m.c 2022-09-27 12:27:35 +02:00
email-client Revised all READMEs 2022-08-25 11:34:48 +02:00
eyedropper Fixed eyedropper repo link 2021-11-12 14:18:48 +01:00
network-tutorial Rename docs.m.c to learn.m.c 2022-09-27 12:27:35 +02:00
pwamp Rename docs.m.c to learn.m.c 2022-09-27 12:27:35 +02:00
reader Revised all READMEs 2022-08-25 11:34:48 +02:00
selectmenu Fixed combobox demo 2022-09-01 11:22:52 +02:00
shared Moved devtools perf get started over from glitch 2022-01-19 11:21:31 +01:00
template Revised all READMEs 2022-08-25 11:34:48 +02:00
wami Offline support for wami 2022-09-29 15:18:47 +02:00
workspaces Rename docs.m.c to learn.m.c 2022-09-27 12:27:35 +02:00
.gitignore Print preview tip 2022-02-10 18:39:54 +01:00
.hintrc Added a simple image diff viewer 2022-09-28 15:40:47 +02:00
CODE_OF_CONDUCT.md CODE_OF_CONDUCT.md committed 2021-11-12 02:32:37 -08:00
LICENSE LICENSE committed 2021-11-12 02:32:36 -08:00
README.md Added devtools extension to readme 2022-09-27 12:29:21 +02:00
SECURITY.md Rename docs.m.c to learn.m.c 2022-09-27 12:27:35 +02:00
SUPPORT.md Edited the support file 2021-11-12 12:21:17 +01:00

README.md

Microsoft Edge Demos

This repository contains demo web pages, apps, and sample code used to demonstrate various DevTools, PWA, WebView, Extensions, or Web Platform features of Microsoft Edge.

Demos

Click a folder from the list above to find out more about a particular demo, or use the tables below.

PWA

Demo Description Code Live URL
1DIV A CSS sandbox PWA that demonstrates the Window Controls Overlay feature Code Demo
Email client A fake email client PWA that demonstrates how to use PWA protocol handlers Code Demo
PWAmp A music player PWA demo to read your local music files Code Demo
wami An image manipulation demo app to crop, resize, or add effects to images Code Demo

DevTools

Demo Description Code Live URL
Edge DevTools VS Code extension sourcemap support Simple app to test the sourcemap support for CSS mirroring in the Edge DevTools extension for Visual studio code. Code N/A
TODO app A simple TODO app used in the DevTools documentation. Code Demo
Detached Elements A chat-like demo application with DOM memory leaks to demonstrate how to use the Detached Elements tool in Edge DevTools. Code Demo
3D View A sample web page used to demonstrate how to use the 3D View tool in Edge DevTools. Code Demo
Animal Shelter A sample website with accessibility issues, used to demonstrate how to use the accessibility issues detection features of Edge DevTools. Code Demo
DevTools Console demos Multiple web pages to demonstrate various Edge DevTools Console features. Code Demo
Contrast bug fix Demo page used in a Microsoft Edge blog post about improving contrast in Edge DevTools. Code Demo
DevTools CSS getting started docs Source code for a demo page used in the DevTools CSS getting started docs. Code Demo
DevTools DOM getting started docs Source code for a demo page used in the DevTools DOM getting started docs. Code Demo
DevTools Inspect tool docs Source code for a demo page used in the DevTools Inspect tool docs. Code Demo
DevTools JS getting started docs Source code for a demo page used in the DevTools JS getting started docs. Code Demo
DevTools recording heap snapshots docs Source code for a demo page used in the DevTools heap snapshot recording docs. Code N/A
DevTools perf activities tabs docs Source code for a demo page used in the DevTools performance activities tabs docs. Code Demo
DevTools perf getting started docs Source code for a demo page used in the DevTools performance getting started docs. Code Demo
DevTools :target pseudo docs Source code for a demo page used in the DevTools :target pseudo-class feature docs. Code Demo
DevTools network inspection docs Source code for a demo page used in the DevTools network inspection docs. Code Demo
DevTools workspaces docs Source code for a demo page used in the DevTools workspaces docs. Code Demo

Web Platform

Demo Description Code Live URL
CSS Custom Highlight API How to programmatically create and remove custom highlights on a web page. Code Demo
EyeDropper API How to use the EyeDropper API to create a color sampling tool from JavaScript. Code Demo
Reader app An article reader app used to demonstrate how to use various web APIs such as CSS Custom Highlight, <selectmenu>, EyeDropper, CSS and JSON modules, Scroll animation timeline, Async Clipboard. Code Demo
Selectmenu demos Demo page showing how the Open UI's <selectmenu> element can be used. Code Demo

Extensions

Demo Description Code Live URL
Create a DevTools extension Learn to build a Microsoft Edge extension that extends DevTools. Code N/A

Adding a new demo

To add a new demo:

  1. Make a copy of the template directory at the root of this repository and give it a name (e.g. my-demo).
  2. Edit the README.md file in my-demo to clearly explain what your new demo is about. Add a link to the live demo in the README file too. This repository is set up to be deployed live using GitHub Pages, so the my-demo directory will end up being accessible on the web at https://microsoftedge.github.io/demos/my-demo.
  3. Edit the code (index.html, style.css, etc.) in my-demo according to your needs and add any files you need.
  4. Use the shared CSS, JS, and images from the shared directory. The template demo already links to them. This can be helpful to avoid having to repeat basic styling and typography CSS code, or having to create your own images.
  5. Add a link to your demo in this README.md file, in one of the tables at the top.

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.

When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

Trademarks

This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.