WebIDLpedia

NavigatorBadge interface mixin

Definition

Badging API defines NavigatorBadge

[SecureContext]
interface mixin NavigatorBadge {
  Promise<undefined> setAppBadge(
    optional [EnforceRange] unsigned long long contents
  );
  Promise<undefined> clearAppBadge();
};

Referring IDL interfaces/dictionaries