Sha256: fae20f6e10d811a888412b2069a0d2c26a49088d9db2a27f46394d8fcb5ea4c2
Contents?: true
Size: 906 Bytes
Versions: 16
Compression:
Stored size: 906 Bytes
Contents
import { CocoComponent } from "@js/coco"; export default CocoComponent("appToast", () => { return { use: false, notificationType: "toast", options: ["show", "dismiss", "showDelay", "dismissDelay", "position"], root: { "x-options": "options", "x-notification": "notificationType", "x-show": "notification.shown && !notification.dismissed", "x-transition:enter": "toast-enter", "x-transition:enter-start": "toast-enter-start", "x-transition:enter-end": "toast-enter-end", "x-transition:leave": "toast-leave", "x-transition:leave-start": "toast-leave-start", "x-transition:leave-end": "toast-leave-end", "@mouseover": "notification.clearAutoDismiss", "@mouseout": "notification.startAutoDismiss", "@alert:dismiss": "notification.dismiss", "@toast:show.document": "notification.clearFromQueue", }, }; });
Version data entries
16 entries across 16 versions & 1 rubygems