Notificación de Growl en Vanilla JavaScript-vToasts
| Autor: | AdamModus |
|---|---|
| Views Total: | 856 |
| Sitio oficial: | Ir a la web |
| Actualizado: | May 24, 2018 |
| Licencia: | MIT |
Vista prévia
Descripción
vToasts is a minimal, easy-to-use JavaScript plugin to create growl-style notifications that slide in from the edge of the screen and slide out after a certain timeout.
Funcionamiento
Importe los archivos JavaScript y CSS de vToasts en el archivo HTML.
<link href="vToasts.css" rel="stylesheet"> <script src="vToasts.js"></script>
Cree una nueva notificación.
vToasts.toast({
title: 'Notification Title',
type: 'Éxito',
content: 'Notification Content'
}); Todos los tipos de notificación posibles.
- Éxito
- Información
- Advertir
- Error





