UNPKG

adonisjs-livewire

Version:

A front-end framework for AdonisJS

15 lines (14 loc) 287 B
import { store } from '../../store.js'; export class HandlesEvents { getListeners() { return {}; } dispatch(name, params, to, self) { store(this).push('dispatched', { name, params, to, self, }); } }