function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Using Lightning Component in Visualforce Page : how to instantiate the aura attribute ?


I'm using a lightning component in my vf page and somehow my use case is to create that component on page for multiple times and the app as well -> so now I want to make a new instance of a list type of aura attribute as per the component created in vf page.
<div class="slds-form-element">
                    <apex:variable var="idVal" value="{!0}"/>
                    <apex:repeat value="{!ReferenceObjects}" var="f">
                            $Lightning.use("c:LookupApp", function(){
                        <div id="{!idVal}"></div>
                        <apex:variable var="idVal" value="{!idVal+1}"/>

so how can I instatiate the aura attribute so if anyone knows that how to achieve this then please let me know.

thanks in advance...... :)