( name: string, value: any, sanitizer?: SanitizerFn | null, namespace?: string, )
| 24 | * @codeGenApi |
| 25 | */ |
| 26 | export function ɵɵattribute( |
| 27 | name: string, |
| 28 | value: any, |
| 29 | sanitizer?: SanitizerFn | null, |
| 30 | namespace?: string, |
| 31 | ): typeof ɵɵattribute { |
| 32 | const lView = getLView(); |
| 33 | const bindingIndex = nextBindingIndex(); |
| 34 | if (bindingUpdated(lView, bindingIndex, value)) { |
| 35 | const tView = getTView(); |
| 36 | const tNode = getSelectedTNode(); |
| 37 | elementAttributeInternal(tNode, lView, name, value, sanitizer, namespace); |
| 38 | ngDevMode && storePropertyBindingMetadata(tView.data, tNode, 'attr.' + name, bindingIndex); |
| 39 | } |
| 40 | |
| 41 | return ɵɵattribute; |
| 42 | } |
no test coverage detected
searching dependent graphs…