Skip to content
/ Demos Public template
forked from MicrosoftEdge/Demos

Web pages and apps used to demo various DevTools, PWA, WebView, Extensions, and Web Platform features of Microsoft Edge

License

Notifications You must be signed in to change notification settings

MGLICH/Demos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

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

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 [email protected] 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.

About

Web pages and apps used to demo various DevTools, PWA, WebView, Extensions, and Web Platform features of Microsoft Edge

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 57.5%
  • HTML 25.7%
  • CSS 9.7%
  • TypeScript 7.1%