[scala] Use multi argument list for Component#on(String eventName)(onAction)(onError)