blob: b04d69d057e33ed64dcd3291ed14e1f9d7a0c3a5 (
plain) (
tree)
|
|
import { Component, Input } from '@angular/core'
import { Notifier } from '@app/core'
@Component({
selector: 'my-input-readonly-copy',
templateUrl: './input-readonly-copy.component.html',
styleUrls: [ './input-readonly-copy.component.scss' ]
})
export class InputReadonlyCopyComponent {
@Input() id: string
@Input() value = ''
constructor (private notifier: Notifier) { }
activateCopiedMessage () {
this.notifier.success($localize`Copied`)
}
}
|