feat(ivy): properly apply class="", [class], [class.foo] and [attr.class] bindings (#24822)

PR Close #24822
This commit is contained in:
Matias Niemelä
2018-07-11 09:56:47 -07:00
parent c8ad9657c9
commit ba3eb8b654
24 changed files with 1806 additions and 928 deletions

View File

@ -48,13 +48,13 @@ export class LargeTableComponent {
{
if (rf2 & RenderFlags.Create) {
E(0, 'td');
s(1, c0);
{ T(2); }
s(c0);
{ T(1); }
e();
}
if (rf2 & RenderFlags.Update) {
sp(1, 0, cell.row % 2 ? '' : 'grey');
t(2, b(cell.value));
sp(0, 0, cell.row % 2 ? '' : 'grey');
t(1, b(cell.value));
}
}
v();