Fixed component.trigger doesn't pass event object issue #1298

FYI, I had to change these comments to be single-line otherwise the docs parser wasn't picking up anything but the first line