/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {Component, Input} from '@angular/core'; @Component({ selector: 'class-bindings', template: `

{{ msg }}

{{ obj.text }} one two
three four five
six seven eight
` }) export class ClassBindingsComponent { @Input() msg: string = ''; @Input() list: string[]|null = null; }