MCPcopy
hub / github.com/angular/angular / isInHostBindings

Function isInHostBindings

packages/core/src/render3/instructions/styling.ts:310–313  ·  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

308 * @param bindingIndex index of binding which we would like if it is in `hostBindings`
309 */
310function isInHostBindings(tView: TView, bindingIndex: number): boolean {
311 // All host bindings are placed after the expando section.
312 return bindingIndex >= tView.expandoStartIndex;
313}
314
315/**
316 * 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

Used in the wild real call sites across dependent graphs

searching dependent graphs…