( propName: string, value: T, sanitizer?: SanitizerFn | null, )
| 36 | * @codeGenApi |
| 37 | */ |
| 38 | export function ɵɵproperty<T>( |
| 39 | propName: string, |
| 40 | value: T, |
| 41 | sanitizer?: SanitizerFn | null, |
| 42 | ): typeof ɵɵproperty { |
| 43 | const lView = getLView(); |
| 44 | const bindingIndex = nextBindingIndex(); |
| 45 | if (bindingUpdated(lView, bindingIndex, value)) { |
| 46 | const tView = getTView(); |
| 47 | const tNode = getSelectedTNode(); |
| 48 | setPropertyAndInputs(tNode, lView, propName, value, lView[RENDERER], sanitizer); |
| 49 | ngDevMode && storePropertyBindingMetadata(tView.data, tNode, propName, bindingIndex); |
| 50 | } |
| 51 | return ɵɵproperty; |
| 52 | } |
| 53 | |
| 54 | /** |
| 55 | * Given `<div style="..." my-dir>` and `MyDir` with `@Input('style')` we need to write to |
no test coverage detected