@duckduckgo/content-scope-scripts
    Preparing search index...

    Interface ShowNotificationParams

    Parameters for showing a web notification

    interface ShowNotificationParams {
        body?: string;
        icon?: string;
        id: string;
        tag?: string;
        title: string;
    }
    Index

    Properties

    Properties

    body?: string

    The notification body text

    icon?: string

    URL of the notification icon

    id: string

    Unique identifier for the notification instance

    tag?: string

    Tag for grouping notifications

    title: string

    The notification title