import Action from '.' export default class extends Action { constructor(event, params, el) { super(el) this.type = 'fireEvent' this.payload = { id: this.signature, event, params, } } // Overriding toId() becuase some EventActions don't have an "el" toId() { return btoa(encodeURIComponent(this.type, this.payload.event, JSON.stringify(this.payload.params))) } }