File

src/components/weather-current-description/weather-current-description.component.ts

Metadata

changeDetection ChangeDetectionStrategy.OnPush
selector weather-current-description
styles :host { display: block; text-align: center; }
template
{{ descripion | uppercase}}

Inputs

descripion

Type: string

import {
  Component,
  ChangeDetectionStrategy,
  Input,
  Output,
  EventEmitter
} from '@angular/core';

@Component({
  selector: 'weather-current-description',
  changeDetection: ChangeDetectionStrategy.OnPush,
  styles: [
    `
           :host {
             display: block;
             text-align: center;
           }
           `
  ],
  template: `
    {{ descripion | uppercase}}
  `
})
export class WeatherCurrentDescriptionComponent {
  @Input() descripion: string;
}
Legend
Html element
Component
Html element with directive

results matching ""

    No results matching ""