Interface JSImportMapsContributor
public interface JSImportMapsContributor
-
Method Details
-
getImportMapsJSONObject
com.liferay.portal.kernel.json.JSONObject getImportMapsJSONObject()Contribute a chunk of the whole import maps JSON object. The returned object must be a plain JSON object containing key value pairs, where keys are bare identifiers and values are JavaScript module URIs to which those bare identifiers must be resolved.- Returns:
- a pure JSON object
- See Also:
-
getScope
Get the scope for the contributed chunks of import maps.- Returns:
- a valid URL or null to register a global mapping
-