]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - client/src/app/shared/shared-main/plugins/plugin-placeholder.component.ts
Merge branch 'release/3.1.0' into develop
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / shared-main / plugins / plugin-placeholder.component.ts
1 import { Component, Input } from '@angular/core'
2 import { PluginElementPlaceholder } from '@shared/models'
3
4 @Component({
5 selector: 'my-plugin-placeholder',
6 template: '<div [id]="getId()"></div>'
7 })
8
9 export class PluginPlaceholderComponent {
10 @Input() pluginId: PluginElementPlaceholder
11
12 getId () {
13 return 'plugin-placeholder-' + this.pluginId
14 }
15 }