Artificial Intelligence
Please fill the required field.

What is a capability of the <ltng:require> tag that is used for loading external Javascript libraries in Lightning Component?*Required Loading files from Documents Loading scripts in parallel Loading externally hosted scripts One-time loading for dupl


The `<ltng:require>` tag in Lightning Components has several capabilities related to loading external JavaScript libraries. Here are the relevant options from your list: 1. **Loading files from Documents** - This is not a capability of `<ltng:require>`. It primarily loads scripts from URLs. 2. **Loading scripts in parallel** - This is correct. The `<ltng:require>` tag allows scripts to be loaded in parallel, which can improve performance. 3. **Loading externally hosted scripts** - This is correct. The tag can load scripts from external sources. 4. **One-time loading for duplicate scripts** - This is correct. It prevents duplicate loading of the same script in a component. 5. **Specifying loading order** - This is also correct. You can specify the order in which scripts should be loaded. Based on these points, the correct capabilities of the `<ltng:require>` tag would be: - Loading scripts in parallel - Loading externally hosted scripts - One-time loading for duplicate scripts - Specifying loading order So, the correct multiple-choice options would be those that accurately reflect these capabilities.