- {InitFragment
}
new ModuleExternalInitFragment(request, imported, ident?, dependencyMeta?, hashFunction?): ModuleExternalInitFragmentAttributes
request:
<string>imported:
{Imported}
ident:
<string>dependencyMeta:
<ImportDependencyMeta>hashFunction:
<string>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): voidcontext{GenerateContext} context- Returns:
<string>|<Source>|<undefined>the source code that will be included as initialization code
getEndContent(context): voidcontext{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
[]} init fragments
context:
{Context} context
Returns:
<Source>source