Session resources for developers from SK122 Building rich app experiences with Progressive Web Apps.
- Microsoft Edge explainers
- Project Fugu
- Features discussed in the session:
- Run on OS Login
| { | |
| "Hábitos Atómicos": { | |
| "author": "James Clear", | |
| "isbn": "0735211299", | |
| "language": "Español", | |
| "genre": "Autoayuda", | |
| "published": "11 de junio de 2019" | |
| } | |
| } |
| { | |
| "version": 1, | |
| "entityDefinitions": { | |
| "audiobook": "ms-resource://Files/LocalizedCustomEntities/AudioBookCustomEntity.json" | |
| } | |
| } |
| { | |
| "version": 1, | |
| "actions": [ | |
| { | |
| "id": "Wami.Resize.Width", | |
| "description": "Resize the image to a specific width", | |
| "kind": "Search", | |
| "inputs": [ | |
| { | |
| "name": "File", |
Session resources for developers from SK122 Building rich app experiences with Progressive Web Apps.
| /* The Sign In button itself */ | |
| pwa-auth::part(signInButton) { | |
| color: white; | |
| background-color: green; | |
| transform: rotate3d(0, 0, 1, 10deg); | |
| } | |
| /* The MS button */ | |
| pwa-auth::part(microsoftButton) { | |
| color: teal; |
| <pwa-auth | |
| credentialmode="prompt" | |
| microsoftkey="..." | |
| googlekey="..." | |
| facebookkey="..."> | |
| </pwa-auth> |
| <pwa-auth appearance="none"></pwa-auth> | |
| <button id="myBtn">My Own Sign In Button</button> | |
| <script> | |
| // Hook up our own button to pwa-auth sign-in flow | |
| const pwaAuth = document.querySelector("pwa-auth"); | |
| const myBtn = document.querySelector("#myBtn"); | |
| myBtn.addEventHandler("click", () => pwaAuth.signIn("Microsoft")); // Or Google or Facebook | |
| </script> |
| <pwa-auth | |
| appearance="list" | |
| microsoftkey="..." | |
| googlekey="..." | |
| facebookkey="..."> | |
| </pwa-auth> |
| <!-- To create a key, see https://github.com/pwa-builder/pwa-auth#creating-keys --> | |
| <pwa-auth | |
| microsoftkey="..." | |
| googlekey="..." | |
| facebookkey="..."> | |
| </pwa-auth> |
| <script type="module" src="https://cdn.jsdelivr.net/npm/@pwabuilder/pwaauth/dist/pwa-auth.js"></script> |