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