MCPcopy Create free account
hub / github.com/angular/angular / isInHostBindings

Function isInHostBindings

packages/core/src/render3/instructions/styling.ts:349–352  ·  view source on GitHub ↗

* Determines when the binding is in `hostBindings` section * * @param tView Current `TView` * @param bindingIndex index of binding which we would like if it is in `hostBindings`

(tView: TView, bindingIndex: number)

Source from the content-addressed store, hash-verified

347 * @param bindingIndex index of binding which we would like if it is in `hostBindings`
348 */
349function isInHostBindings(tView: TView, bindingIndex: number): boolean {
350 // All host bindings are placed after the expando section.
351 return bindingIndex >= tView.expandoStartIndex;
352}
353
354/**
355 * Collects the necessary information to insert the binding into a linked list of style bindings

Callers 2

checkStylingMapFunction · 0.85
stylingFirstUpdatePassFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected