// Success toast
my.showToast({
type: 'success',
content: 'Saved successfully',
duration: 2000
});
// Error toast
my.showToast({
type: 'fail',
content: 'Operation failed',
duration: 3000
});
// Plain text toast
my.showToast({
content: 'Loading complete'
});