File

src/lib/toast/push-notifications/interfaces/push-notification.type.ts

Properties

body
body: string
Type : string
data
data: any
Type : any
dir
dir: "auto" | "ltr" | "rtl"
Type : "auto" | "ltr" | "rtl"
icon
icon: string
Type : string
lang
lang: string
Type : string
noscreen
noscreen: boolean
Type : boolean
renotify
renotify: boolean
Type : boolean
silent
silent: boolean
Type : boolean
sound
sound: string
Type : string
sticky
sticky: boolean
Type : boolean
tag
tag: string
Type : string
vibrate
vibrate: number[]
Type : number[]
export type Permission = 'denied' | 'granted' | 'default';

export interface PushNotification {
    body?: string;
    icon?: string;
    tag?: string;
    data?: any;
    renotify?: boolean;
    silent?: boolean;
    sound?: string;
    noscreen?: boolean;
    sticky?: boolean;
    dir?: 'auto' | 'ltr' | 'rtl';
    lang?: string;
    vibrate?: number[];
}

results matching ""

    No results matching ""