]>
Commit | Line | Data |
---|---|---|
3a1fed11 C |
1 | import { Component, Input } from '@angular/core' |
2 | import { Notifier } from '@app/core' | |
c6c0fa6c | 3 | import { FormGroup } from '@angular/forms' |
3a1fed11 C |
4 | |
5 | @Component({ | |
6 | selector: 'my-input-readonly-copy', | |
7 | templateUrl: './input-readonly-copy.component.html', | |
8 | styleUrls: [ './input-readonly-copy.component.scss' ] | |
9 | }) | |
10 | export class InputReadonlyCopyComponent { | |
c6c0fa6c | 11 | @Input() id: string |
3a1fed11 C |
12 | @Input() value = '' |
13 | ||
66357162 | 14 | constructor (private notifier: Notifier) { } |
3a1fed11 C |
15 | |
16 | activateCopiedMessage () { | |
66357162 | 17 | this.notifier.success($localize`Copied`) |
3a1fed11 C |
18 | } |
19 | } |