floating_alert: agregar ejemplo de uso

This commit is contained in:
Cat /dev/Nulo 2021-11-25 17:54:28 +00:00
parent 588c608fa2
commit 01bbbf9a29

View file

@ -1,5 +1,9 @@
import { Controller } from "stimulus";
// Ejemplo de uso:
// window.dispatchEvent(
// new CustomEvent("toast", { detail: { content: "¡Hola, usuarix!" } })
// );
export default class extends Controller {
static targets = ["content"];