handle specifying an event in the trigger callbacks function