aboutsummaryrefslogblamecommitdiffhomepage
path: root/client/src/app/shared/shared-main/angular/peertube-template.directive.ts
blob: e04c25d9a20fbf0c1cb7ffbe9a65f5b95ddc3936 (plain) (tree)
1
2
3
4
5
6
7




                                                             

                                                           




                                                   
import { Directive, Input, TemplateRef } from '@angular/core'

@Directive({
  selector: '[ptTemplate]'
})
export class PeerTubeTemplateDirective <T extends string> {
  @Input('ptTemplate') name: T

  constructor (public template: TemplateRef<any>) {
    // empty
  }
}