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

Function ɵɵelement

packages/core/src/render3/instructions/element.ts:217–226  ·  view source on GitHub ↗
(
  index: number,
  name: string,
  attrsIndex?: number | null,
  localRefsIndex?: number,
)

Source from the content-addressed store, hash-verified

215 * @codeGenApi
216 */
217export function ɵɵelement(
218 index: number,
219 name: string,
220 attrsIndex?: number | null,
221 localRefsIndex?: number,
222): typeof ɵɵelement {
223 ɵɵelementStart(index, name, attrsIndex, localRefsIndex);
224 ɵɵelementEnd();
225 return ɵɵelement;
226}
227
228/**
229 * Create DOM element that cannot have any directives.

Callers 13

CompClass · 0.90
createAnchorFunction · 0.85
createDivFunction · 0.85
createScriptFunction · 0.85
createTextFunction · 0.85
createDivWithStyleFunction · 0.85
createDivWithStylingFunction · 0.85

Calls 2

ɵɵelementStartFunction · 0.85
ɵɵelementEndFunction · 0.85

Tested by

no test coverage detected