onClick
Sets onClick to an Event named name with optional typed params.
Parameters
name
the action name to dispatch.
params
optional EventParamsBuilder block supplying static params; null for none.
Binding fired on the onclick event. Assign an Event directly, or use the onClick helper to build one with typed params.