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