
केस स्टडी
बैकग्राउंड में डेटा को समय-समय पर कैसे सिंक करें
बैकग्राउंड में समय-समय पर सिंक होने की सुविधा की मदद से, प्रोग्रेसिव वेब ऐप्लिकेशन या सेवा वर्कअर के साथ काम करने वाले पेज को लॉन्च करने पर, नया कॉन्टेंट दिखाया जा सकता है. यह तब होता है, जब ऐप्लिकेशन या पेज का इस्तेमाल न किया जा रहा हो. सेवा वर्कर
ऐप्लिकेशन शॉर्टकट बनाने का तरीका
ऐप्लिकेशन शॉर्टकट की मदद से, लोग आपके वेब ऐप्लिकेशन में सामान्य या सुझाए गए टास्क तुरंत शुरू कर सकते हैं. ऐप्लिकेशन आइकॉन को कहीं से भी आसानी से ऐक्सेस किया जा सकता है. इससे उपयोगकर्ताओं को बेहतर तरीके से काम करने में मदद मिलती है. साथ ही, वेब
बेहतर तरीके से इंस्टॉल करने का यूज़र इंटरफ़ेस (यूआई) जोड़ने का तरीका
नीचे दिया गया डिफ़ॉल्ट अनुभव देखें, जिससे ज़रूरी संदर्भ नहीं मिलता. सामान्य छोटे डिफ़ॉल्ट प्रॉम्प्ट के बजाय, बेहतर तरीके से इंस्टॉल करने वाला यूज़र इंटरफ़ेस (यूआई) डायलॉग पाने के लिए, अपने वेब मेनिफ़ेस्ट में screenshots और description फ़ील्ड जोड़ें.
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