WorkerNavigator: phương thức clearAppBadge()

Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers.

Note: This feature is only available in Web Workers.

Phương thức clearAppBadge() của giao diện WorkerNavigator xóa huy hiệu trên biểu tượng ứng dụng hiện tại và trả về một Promise được giải quyết thành undefined.

Cú pháp

js
clearAppBadge()

Giá trị trả về

Một Promise.

Đặc tả

This feature does not appear to be defined in any specification.

Tương thích trình duyệt