- {InitFragment< GenerateContext >}
new ModuleExternalInitFragment(request, imported, ident?, dependencyMeta?, hashFunction?): ModuleExternalInitFragmentAttributes
Returns:
<ModuleExternalInitFragment>Attributes
buildIdentifier(ident): stringAttributes
ident:
<string>Returns:
<string>buildImported(imported): voidimported{Imported}- Returns: {Imported}
deserialize(context): voidAttributes
context:
<ObjectDeserializerContext>context
Returns:
{void}
getContent(context): string | Source | undefinedAttributes
context:
<GenerateContext>context
Returns:
<string>
|
<Source>
|
<undefined>the source code that will be included as initialization code
getEndContent(context): string | Source | undefinedAttributes
context:
<GenerateContext>context
Returns:
<string>
|
<Source>
|
<undefined>the source code that will be included at the end of the module
getImported(): ImportedReturns:
{Imported}
getNamespaceIdentifier(): stringReturns:
<string>serialize(context): voidAttributes
context:
<ObjectSerializerContext>context
Returns:
{void}
setImported(imported): voidimported{Imported}- Returns: {void}
Attributes
source:
<Source>sources
initFragments:
{MaybeMergeableInitFragment< Context >[]} init fragments
context:
{Context} context
Returns:
<Source>source