Chocobozzz/PeerTube

View on GitHub
client/src/app/shared/shared-video/video-views-counter.component.ts

Summary

Maintainability
A
0 mins
Test Coverage
import { Component, Input } from '@angular/core'
import { NumberFormatterPipe } from '../shared-main/common/number-formatter.pipe'
import { NgIf } from '@angular/common'
import { Video } from '../shared-main/video/video.model'

@Component({
  selector: 'my-video-views-counter',
  styleUrls: [ './video-views-counter.component.scss' ],
  templateUrl: './video-views-counter.component.html',
  standalone: true,
  imports: [ NgIf, NumberFormatterPipe ]
})
export class VideoViewsCounterComponent {
  @Input() video: Video
}