setParams()

Sets parameters for an action. Use parameters to pass data to an Apex action.

Signature 

setParams (Object config)

Parameters 

config: Type: Object. The key-value pairs for action parameters. For example { "record": id, "name": name}.

See Also