src/modules/dialogs/components/prompt-dialog-content.intf.ts
Content that can be shown in the StarkPromptDialogComponent
Properties |
|
cancel |
cancel:
|
Type : string
|
Optional |
Label to be set in the "Cancel" button. |
initialValue |
initialValue:
|
Type : string
|
Optional |
Initial value to be set to the prompt input. |
label |
label:
|
Type : string
|
Optional |
Text to be shown as label of the prompt input. |
placeholder |
placeholder:
|
Type : string
|
Optional |
Placeholder text of the prompt input. |
import { StarkBaseDialogContent } from "./dialog-content.intf";
/**
* Content that can be shown in the {@link StarkPromptDialogComponent}
*/
export interface StarkPromptDialogContent extends StarkBaseDialogContent {
/**
* Text to be shown as label of the prompt input.
*/
label?: string;
/**
* Placeholder text of the prompt input.
*/
placeholder?: string;
/**
* Initial value to be set to the prompt input.
*/
initialValue?: string;
/**
* Label to be set in the "Cancel" button.
*/
cancel?: string;
}