foundation-notifications.toastbuilder.withautoclose
Home > @genesislcap/foundation-notifications > ToastBuilder > withAutoClose
ToastBuilder.withAutoClose() method
Warning: This API is now obsolete.
Use showNotificationToast instead or provide a NotificationStructure object when used with an event for a notification listener.
Add auto close to notification
Signature:
withAutoClose(autoClose: boolean): ToastBuilder;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
autoClose |
boolean |
boolean |
Returns: