タグ

ブックマーク / web.dev (2)

  • Web App Install Banners  |  Web Fundamentals  |  Google Developers

    display_override ウェブアプリの表示方法を選択するには、前述のように、マニフェストで display モードを設定します。ブラウザはすべてのディスプレイ モードをサポートする必要はありませんが、仕様で定義されているフォールバック チェーン("fullscreen" → "standalone" → "minimal-ui" → "browser")をサポートする必要があります。特定のモードをサポートしていない場合は、チェーン内の次のディスプレイ モードにフォールバックします。まれに、このフォールバックによって問題が発生することがあります。たとえば、"minimal-ui" がサポートされていない場合、デベロッパーは強制的に "browser" 表示モードに戻さない限り、"minimal-ui" をリクエストできません。また、現在の動作では、フォールバック チェーン内に場所が

    goinger
    goinger 2017/09/29
  • Introduction to fetch()  |  Articles  |  web.dev

    Introduction to fetch() Stay organized with collections Save and categorize content based on your preferences. fetch() lets you make network requests similar to XMLHttpRequest (XHR). The main difference is that the Fetch API uses Promises, which has a simpler API to help you avoid the complicated callbacks in the XMLHttpRequest API. If you've never used Promises before, check out Introduction to J

  • 1