MCPcopy Create free account
hub / github.com/angular/angular / ɵɵdomTemplate

Function ɵɵdomTemplate

packages/core/src/render3/instructions/template.ts:311–338  ·  view source on GitHub ↗
(
  index: number,
  templateFn: ComponentTemplate<any> | null,
  decls: number,
  vars: number,
  tagName?: string | null,
  attrsIndex?: number | null,
  localRefsIndex?: number | null,
  localRefExtractor?: LocalRefExtractor,
)

Source from the content-addressed store, hash-verified

309 * @codeGenApi
310 */
311export function ɵɵdomTemplate(
312 index: number,
313 templateFn: ComponentTemplate<any> | null,
314 decls: number,
315 vars: number,
316 tagName?: string | null,
317 attrsIndex?: number | null,
318 localRefsIndex?: number | null,
319 localRefExtractor?: LocalRefExtractor,
320): typeof ɵɵdomTemplate {
321 const lView = getLView();
322 const tView = getTView();
323 const attrs = getConstant<TAttributes>(tView.consts, attrsIndex);
324 declareNoDirectiveHostTemplate(
325 lView,
326 tView,
327 index,
328 templateFn,
329 decls,
330 vars,
331 tagName,
332 attrs,
333 undefined,
334 localRefsIndex,
335 localRefExtractor,
336 );
337 return ɵɵdomTemplate;
338}
339
340let _locateOrCreateContainerAnchor = createContainerAnchorImpl;
341

Callers 1

Calls 4

getLViewFunction · 0.90
getTViewFunction · 0.90
getConstantFunction · 0.90

Tested by

no test coverage detected