LaxEventBuilder

LaxEventBuilder

new LaxEventBuilder()

Source:

The object based on builder pattern to fire Lightning Application or Component events.

Methods

fire() → {void}

Source:

Fires the event.

Returns:
Type
void

setParams(params) → {LaxEventBuilder}

Source:

Sets data for the event attributes. A parameter’s name must match the name attribute of one of the event’s aura:attribute tags.

Parameters:
Name Type Description
params Object

the data of event attributes

Returns:
Type
LaxEventBuilder