Navigator: clearAppBadge() メソッド
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
Navigator
インターフェイスの clearAppBadge()
メソッドは、現在のアプリケーションのアイコンに設定されているバッジを nothing
に設定し、非表示にします。値 nothing
は現在バッジが設定されていないことを表し、バッジの状態は cleared になります。