Function: childPrefixOf()
function childPrefixOf(
element,
elementPath,
parentPrefix,
repeatIndex?
): string;
Defined in: utils.ts:24
The prefix a container's children are bound to.
repeatIndex is supplied when rendering one instance of a repeat; without it
the caller gets the template prefix (name[]), which is only useful for
diagnostics.
Parameters
| Parameter | Type |
|---|---|
element | Element |
elementPath | string |
parentPrefix | string |
repeatIndex? | number |
Returns
string