5ea1357a99 | ||
---|---|---|
1DIV | ||
css-mirroring-sourcemaps-demo | ||
custom-highlight-api | ||
demo-to-do | ||
detached-elements | ||
devtools-3d | ||
devtools-a11y-testing | ||
devtools-console | ||
devtools-contrast-bugfix | ||
devtools-css-get-started | ||
devtools-dom-get-started | ||
devtools-extension | ||
devtools-inspect | ||
devtools-js-get-started | ||
devtools-memory-heap-snapshot | ||
devtools-performance-activitytabs | ||
devtools-performance-get-started | ||
devtools-target-pseudo | ||
email-client | ||
eyedropper | ||
network-tutorial | ||
pwamp | ||
reader | ||
selectmenu | ||
shared | ||
template | ||
wami | ||
workspaces | ||
.gitignore | ||
.hintrc | ||
CODE_OF_CONDUCT.md | ||
LICENSE | ||
README.md | ||
SECURITY.md | ||
SUPPORT.md |
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:
- Make a copy of the
template
directory at the root of this repository and give it a name (e.g.my-demo
). - Edit the
README.md
file inmy-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 themy-demo
directory will end up being accessible on the web athttps://microsoftedge.github.io/demos/my-demo
. - Edit the code (
index.html
,style.css
, etc.) inmy-demo
according to your needs and add any files you need. - 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. - 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.