Interface UIInternals.ChunkJs
- All Superinterfaces:
Serializable
- Enclosing class:
UIInternals
How the chunk of a component is loaded, as a JavaScript definition for
JsSnippets.of(Class), so that loading it compiles nothing in the
browser.
For internal use only. May be renamed or removed in a future release.
- Since:
- 25.4
-
Method Summary
Modifier and TypeMethodDescriptionDeclares the function that loads a chunk, forPage.addDynamicImport(JsFunction).
-
Method Details
-
loadChunk
Declares the function that loads a chunk, forPage.addDynamicImport(JsFunction).- Parameters:
chunkId- the id of the chunk to load- Returns:
- the function, which returns the promise of the chunk
-