Web component: j-Snackbar


  • Info
  • HTML
  • JS
  • CSS
  • Meta

j-SnackBar

  • singleton
  • info message SETTER('snackbar', 'show', 'MESSAGE', '[BUTTON_LABEL]', [callback_dismiss])
  • success message SETTER('snackbar', 'success', 'MESSAGE', '[BUTTON_LABEL]', [callback_dismiss])
  • warning message SETTER('snackbar', 'warning', 'MESSAGE', '[BUTTON_LABEL]', [callback_dismiss])
  • message can contain HTML code

Configuration:

  • button {String} A label for dismiss button (default: Dismiss)
  • timeout {Number} A timeout in milliseconds (default: 3000)

Author

Browser‘s Save action performs Preview