
תיאור מקרים
איך לסנכרן נתונים מדי פעם ברקע
סנכרון תקופתי ברקע מאפשר לכם להציג תוכן עדכני כשאפליקציית Progressive Web App או דף שתומך בשירות עובדים מופעלים. כדי לעשות זאת, המערכת מורידת נתונים ברקע כשלא משתמשים באפליקציה או בדף. אחרי שתתקינו את ה-service worker, תוכלו להשתמש ב- Permissions API
איך יוצרים קיצורי דרך של אפליקציות
קיצורי דרך לאפליקציות עוזרים למשתמשים להתחיל במהירות משימות נפוצות או מומלצות באפליקציית האינטרנט. הגישה הקלה למשימות האלה מכל מקום שבו מוצג סמל האפליקציה תשפר את הפרודוקטיביות של המשתמשים ותגביר את ההתעניינות שלהם באפליקציית האינטרנט. כדי להפעיל את
איך להוסיף ממשק משתמש עשירה יותר להתקנה
בדוגמה שבהמשך אפשר לראות את חוויית ברירת המחדל, שלא כוללת מספיק הקשר. כדי להשתמש בתיבת הדו-שיח 'התקנה עשירה יותר' במקום בהנחיית ברירת המחדל הקטנה הרגילה, צריך להוסיף את השדות screenshots ו- description למניפסט האינטרנט. דוגמה ל-Squoosh.app: תיבת
How to create an app badge
Badges are used to convey non-urgent information to the user. For example, they are used to indicate the status of an app, or the number of unread items. The classic way of creating an app badge is to add a number to the favicon. On modern browsers,
How to access contacts from the address book
Sometimes you want to let users of your app select one of their contacts to message via an email or chat application, or help them discover which of their contacts have already joined a social platform. To get contacts from the address book, you need
How to use multiple screens
To make sure your browser supports the getScreenDetails() method, first check if it exists on the window object. Then, call window.getScreenDetails() to get attached screens. Adding an event listener to adapt to changed screen details allows you to
How to let the user share the website they are on
Letting the user share the website they are on is a common web apps pattern that you can find on many news sites, blogs, or shopping sites. Since linking is one of the web's super powers, the hope is to acquire traffic from users who see the shared