Sweetalert2: does sweetalert have notification like toastr notification

Created on 28 Jan 2017  路  1Comment  路  Source: sweetalert2/sweetalert2

does sweet alert have a notification like a toaster notification
and have a sound notification

Most helpful comment

does sweet alert have a notification like a toaster notification

Yes

const toast = swal.mixin({
  toast: true,
  position: 'top-end',
  showConfirmButton: false,
  timer: 3000
});

toast({
  type: 'success',
  title: 'Signed in successfully'
})

and have a sound notification

https://jsfiddle.net/ad3quksn/69/

>All comments

does sweet alert have a notification like a toaster notification

Yes

const toast = swal.mixin({
  toast: true,
  position: 'top-end',
  showConfirmButton: false,
  timer: 3000
});

toast({
  type: 'success',
  title: 'Signed in successfully'
})

and have a sound notification

https://jsfiddle.net/ad3quksn/69/

Was this page helpful?
0 / 5 - 0 ratings

Related issues

SasSam picture SasSam  路  3Comments

thelastinuit picture thelastinuit  路  3Comments

Spidersouris picture Spidersouris  路  3Comments

limonte picture limonte  路  3Comments

WillGoldstein picture WillGoldstein  路  3Comments