- default(): {
dismissNotification: ((item: DMPNotification, feeds: DMPNotification[]) => void);
dmpNotifications: Ref<{
Description: string;
NotificationId: number;
Title: string;
Type?: string;
ValidFrom?: string;
ValidTo?: string;
}[]>;
fetchDMPNotifications: ((applyUserFilter?: boolean) => void);
getFilteredNotifications: ((feeds: DMPNotification[]) => DMPNotification[]);
isShowingDMPNotification: Ref<boolean>;
notificationCount: ComputedRef<number>;
onNotificationDismissed: ((item: DMPNotification) => void);
setUrl: ((url: string) => void);
toggleDMPNotifications: (() => void);
} Returns {
dismissNotification: ((item: DMPNotification, feeds: DMPNotification[]) => void);
dmpNotifications: Ref<{
Description: string;
NotificationId: number;
Title: string;
Type?: string;
ValidFrom?: string;
ValidTo?: string;
}[]>;
fetchDMPNotifications: ((applyUserFilter?: boolean) => void);
getFilteredNotifications: ((feeds: DMPNotification[]) => DMPNotification[]);
isShowingDMPNotification: Ref<boolean>;
notificationCount: ComputedRef<number>;
onNotificationDismissed: ((item: DMPNotification) => void);
setUrl: ((url: string) => void);
toggleDMPNotifications: (() => void);
}
- (item, feeds): void
Returns void
dmpNotifications: Ref<{
Description: string;
NotificationId: number;
Title: string;
Type?: string;
ValidFrom?: string;
ValidTo?: string;
}[]>
fetchDMPNotifications: ((applyUserFilter?: boolean) => void)
- (applyUserFilter?): void
Parameters
- applyUserFilter: boolean = false
Returns void
isShowingDMPNotification: Ref<boolean>
notificationCount: ComputedRef<number>
onNotificationDismissed: ((item: DMPNotification) => void)
setUrl: ((url: string) => void)
toggleDMPNotifications: (() => void)