Skip to main content

foundation-notifications.notificationbuilder.withtitle

Home > @genesislcap/foundation-notifications > NotificationBuilder > withTitle

NotificationBuilder.withTitle() method

Warning: This API is now obsolete.

Use showNotificationBanner/Dialog/Snackbar/Toast instead or provide a NotificationStructure object when used with an event for a notification listener.

Add title to notification

Signature:

withTitle(title: string): NotificationBuilder;

Parameters

Parameter

Type

Description

title

string

string

Returns:

NotificationBuilder