add EventContext.trigger function