DevDay2020KeynoteDemoWeb
Перейти к файлу
Alexandre Zollinger Chohfi 6f56f8cece
Update README.md
2020-02-10 20:56:35 -08:00
fonts Web single-screen implemented 2020-01-21 12:29:01 -08:00
images Updated content. 2020-02-07 13:46:49 -08:00
.gitignore Initial commit 2020-01-14 22:23:02 +00:00
CODE_OF_CONDUCT.md Initial CODE_OF_CONDUCT.md commit 2020-01-14 14:23:07 -08:00
Getting started with dual screens.md Added getting started readme. 2020-02-03 12:36:42 -08:00
LICENSE Initial LICENSE commit 2020-01-14 14:23:08 -08:00
README.md Update README.md 2020-02-10 20:56:35 -08:00
SECURITY.md Initial SECURITY.md commit 2020-01-14 14:23:10 -08:00
background.jpg Updated content. 2020-02-07 13:46:49 -08:00
favicon.ico Added PWA Manifest. 2020-01-31 17:44:57 -08:00
index.html Updated content. 2020-02-07 13:46:49 -08:00
manifest.json Added PWA Manifest. 2020-01-31 17:44:57 -08:00
menu.css Implemented Graph Toolkit signin 2020-01-27 16:16:04 -08:00
offline.html Added PWA Manifest. 2020-01-31 17:44:57 -08:00
package-lock.json Web single-screen implemented 2020-01-21 12:29:01 -08:00
package.json Web single-screen implemented 2020-01-21 12:29:01 -08:00
pwabuilder-sw.js Added PWA Manifest. 2020-01-31 17:44:57 -08:00
spanning-css-polyfill.js Initial code commit. 2020-01-14 15:36:56 -08:00
spanning-css-polyfill.js.map Initial code commit. 2020-01-14 15:36:56 -08:00
styles.css Updated stylings to better align with design mockups 2020-01-27 16:59:46 -08:00
window-segments-polyfill.js Better handling for spanning. 2020-01-24 17:25:12 -08:00

README.md

page_type languages products description
sample
js, html, css
web
Web sample to leverage the new w3c standard spanning APIs

Official Microsoft Sample

This sample demonstrates how to leverage the new W3C standard APIs to detect the hinge position and size to properly position your content inside a website that is spanned between a two screen device, such as Surface Duo or a Windows 10X device.

Key concepts

Shows how to leverage the new CSS media query, explained by https://github.com/zouhir/spanning-css-polyfill

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.