0

How to add new component with using standard JQ or JS methods? enter image description here

2 Answers 2

1

If you are using lightning out $Lightning.createComponent can be used. If its within visualforce, you dont have to pass the session Id , if you plan to use it in a different web app you have to pass the sessionId .

or if you are trying to create it after the $A is loaded , the same method can be used as $A.createComponent.

may be the links below can help

Dynamically creating components

Lightning out authentication

Lightning out in visualforce

0

Don't use pure Javascript or any other library like jQuery. Soon, in Lightning will be much difficult use some important pure javascript feature, like the DOM manipulation because this critical update "Enable Lightning LockerService Security". For more details, see this

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .