add sendEvent helper to base view