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

Function ɵɵelement

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

Source from the content-addressed store, hash-verified

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