lightning:container NPM Module Reference
Use methods included in the lightning:container NPM module in your JavaScript code to send and receive messages to and from your custom Aura component.
-
Mounts an error handling function, to be called when the messaging framework encounters an error.
-
Mounts a message handling function, used to handle messages sent from the Aura component to the framed JavaScript app.
-
Makes an Apex call.
-
Unmounts the error handling function.
-
Unmounts the message-handling function.
-
Sends a message from the framed JavaScript code to the Aura component.