Create event-delegate.ts