### File

`src/app/product/components/product-detail-page/product-description/product-description.component.ts`

### Implements

`OnInit`

### Metadata

selector | `app-product-description`
styleUrls | `product-description.component.scss`
templateUrl | `./product-description.component.html`

### Inputs

`description` |
Defined in src/app/product/components/product-detail-page/product-description/product-description.component.ts:9

### Constructor

`constructor()`
Defined in src/app/product/components/product-detail-page/product-description/product-description.component.ts:9

### Methods

ngOnInit
`ngOnInit()`
Defined in src/app/product/components/product-detail-page/product-description/product-description.component.ts:12
Returns: `void`

    import { Component, OnInit, Input } from '@angular/core';

    @Component({
      selector: 'app-product-description',
      templateUrl: './product-description.component.html',
      styleUrls: ['./product-description.component.scss']
    })
    export class ProductDescriptionComponent implements OnInit {
      @Input() description;
      constructor() { }

      ngOnInit() {
      }

    }

    <div>
      <i>{{description}}</i>
    </div>

Legend
Html element
Component
Html element with directive

# results matching ""

# No results matching ""