You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
widgets are defined in your PWA manifest file, by using the `widgets` manifest member. This manifest member is an array that can contain multiple widget definitions.
31
+
Widgets are defined in your PWA manifest file, by using the `widgets` manifest member. This manifest member is an array that can contain multiple widget definitions.
26
32
27
33
```json
28
34
{
@@ -379,9 +385,14 @@ async function updateWidget(widget) {
379
385
380
386
PWAmp is a music player PWA demo application that defines a widget. The PWAmp widget lets users visualize the current song and play the previous or next songs.
381
387
388
+
1. If not done yet, install [WinAppSDK 1.2](/windows/apps/windows-app-sdk/older-downloads#windows-app-sdk-12).
389
+
382
390
1. Go to [PWAmp](https://microsoftedge.github.io/Demos/pwamp/) and install the app on Windows 11.
383
-
1. Open the Windows 11 widgets board by pressing **Ctrl+W**.
391
+
392
+
1. Open the Windows 11 widgets board by pressing **Windows logo key + W**.
393
+
384
394
1. Click **Add widgets** to open the **widgets settings** screen, scroll to the **PWAmp mini player** widget and add it.
395
+
385
396
1. Close the **widgets settings** screen. The **PWAmp mini player** is now displayed in the widgets board.
386
397
387
398
The PWAmp widget displays the current song and buttons to play the previous or next song.
0 commit comments