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

Function ɵɵelement

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

Source from the content-addressed store, hash-verified

212 * @codeGenApi
213 */
214export function ɵɵelement(
215 index: number,
216 name: string,
217 attrsIndex?: number | null,
218 localRefsIndex?: number,
219): typeof ɵɵelement {
220 ɵɵelementStart(index, name, attrsIndex, localRefsIndex);
221 ɵɵelementEnd();
222 return ɵɵelement;
223}
224
225/**
226 * 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