Glass Toast System Test

Test all toast variants and features

Basic Toast Types

Toast Stacking

Upload Progress Simulation

Long Messages

Real Use Cases

API Examples

// Basic usage (unchanged)
this.$toast('Success!', 'success')
this.$toast('Error occurred', 'danger')

// Upload progress
const id = this.$toast('Uploading...', 'info', {
  progress: true,
  duration: 0
})
this.$toast.updateProgress(id, 50) // 50%
this.$toast.dismiss(id)

// Convenience methods
this.$toast.success('Done!')
this.$toast.error('Failed!')
this.$toast.warning('Be careful!')
this.$toast.info('FYI...')