]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/eg2/src/app/share/dialog/prompt.component.ts
LP#1398107: Add i18n attribute to alert text
[Evergreen.git] / Open-ILS / src / eg2 / src / app / share / dialog / prompt.component.ts
1 import {Component, Input, ViewChild, TemplateRef} from '@angular/core';
2 import {DialogComponent} from '@eg/share/dialog/dialog.component';
3
4 @Component({
5   selector: 'eg-prompt-dialog',
6   templateUrl: './prompt.component.html'
7 })
8
9 /**
10  * Promptation dialog that requests user input.
11  */
12 export class PromptDialogComponent extends DialogComponent {
13     // What question are we asking?
14     @Input() public dialogBody: string;
15     // Value to return to the caller
16     @Input() public promptValue: string;
17 }
18
19