parent
6e3498ca8e
commit
5f5a8e1da6
|
@ -16,7 +16,7 @@ In the following example, the `@Component()` metadata object and the class const
|
|||
```typescript
|
||||
@Component({
|
||||
selector: 'app-typical',
|
||||
template: 'div>A typical component for {{data.name}}</div>
|
||||
template: '<div>A typical component for {{data.name}}</div>'
|
||||
)}
|
||||
export class TypicalComponent {
|
||||
@Input() data: TypicalData;
|
||||
|
|
Loading…
Reference in New Issue