- Source:
The controller of Lax Aura Component
Methods
createLax() → {Lax}
- Source:
Creates a prototype Lax object. The function calls when the first Lax component in the app instantiates.
Returns:
- Type
- Lax
getLax() → {Lax}
- Source:
The function creates the Lax object and save it on the helper. Helpers of Aura components are static, it allows to share prototype Lax object on a helper instance.
Returns:
- Type
- Lax
init(component)
- Source:
Initialization function called every time Lax Aura Component instantiated
Parameters:
Name | Type | Description |
---|---|---|
component |
Object | the lax component object |