fix(ivy): special case [style] and [class] bindings for future use (#23232)
PR Close #23232
This commit is contained in:

committed by
Miško Hevery

parent
8c1ac28275
commit
1b253e14ff
@ -142,11 +142,11 @@ The goal is for the `@Component` (and friends) to be the compiler of template. S
|
||||
| `<div title="Hello {{name}}!">` | ✅ | ✅ | ✅ |
|
||||
| `<div [attr.value]="exp">` | ✅ | ✅ | ❌ |
|
||||
| `<div class="literal">` | ✅ | ✅ | ✅ |
|
||||
| `<div [class]="exp">` | ❌ | ❌ | ❌ |
|
||||
| `<div [class.foo]="exp">` | ✅ | ✅ | ❌ |
|
||||
| `<div [class]="exp">` | ✅ | ✅ | ✅ |
|
||||
| `<div [class.foo]="exp">` | ✅ | ✅ | ✅ |
|
||||
| `<div style="literal">` | ✅ | ✅ | ✅ |
|
||||
| `<div [style]="exp">` | ❌ | ❌ | ❌ |
|
||||
| `<div [style.foo]="exp">` | ✅ | ✅ | ❌ |
|
||||
| `<div [style]="exp">` | ✅ | ✅ | ✅ |
|
||||
| `<div [style.foo]="exp">` | ✅ | ✅ | ✅ |
|
||||
| `{{ ['literal', exp ] }}` | ✅ | ✅ | ✅ |
|
||||
| `{{ { a: 'literal', b: exp } }}` | ✅ | ✅ | ✅ |
|
||||
| `{{ exp \| pipe: arg }}` | ✅ | ✅ | ✅ |
|
||||
|
Reference in New Issue
Block a user