Module: common/error-toast-sk

error-toast-sk

Listens for 'error-sk' events that bubble up to the document and displays them. These are normally generated by module:common/errorMessage.

The 'error-sk' event should have 'detail' of the form:

   {
     message: "The error message to display goes here.",
     duration: Integer, the number of ms to display or 0 for indefinitely.
               Defaults to 10000 (10s)
   }
Source:
Example
<footer>
  <error-toast-sk></error-toast-sk>
</footer>