Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <aura:if isTrue="{!v.customScriptCSV != null}">
- <ltng:require scripts="{!v.customScriptCSV}" afterScriptsLoaded="
- {!c.doAfterScriptsLoaded}"/>
- </aura:if>
- <aura:attribute name="customScriptCSV" type="String" access="global"/>
- var customScriptCSV = $A.get('$Resource.' +
- someobject.namespace__Custom_Script__c) + ","
- + $A.get('$Resource.LayoutJS') + "," +
- $A.get('$Resource.ValidationJS') + "," +
- $A.get('$Resource.LayoutProcessor');
- console.log("customScriptCSV: " + customScriptCSV);
- component.set("v.customScriptCSV" , customScriptCSV);
Add Comment
Please, Sign In to add comment