blob: 93ba9fb9bc3a39c8e659c595d68b7eb406b9d4ba (
plain) (
tree)
|
|
import { Component, Input } from '@angular/core'
import { PluginElementPlaceholder } from '@shared/models'
@Component({
selector: 'my-plugin-placeholder',
template: '<div [id]="getId()"></div>'
})
export class PluginPlaceholderComponent {
@Input() pluginId: PluginElementPlaceholder
getId () {
return 'plugin-placeholder-' + this.pluginId
}
}
|