larsvanbraam/vue-transition-component

View on GitHub
src/lib/event/FlowEvent.ts

Summary

Maintainability
A
0 mins
Test Coverage
import { createEventClass } from 'seng-event';
import { IRoute } from '../interface/IRoute';

/**
 * ### FlowEvent
 * The FlowManager uses the seng-event module to dispatch events to notify parent classes about
 * certain events. The following events can be listened to.
 */
export default class FlowEvent extends createEventClass<{ to: IRoute; from: IRoute }>()('START') {}