File

src/modules/dialogs/components/prompt-dialog-content.intf.ts

Description

Content that can be shown in the StarkPromptDialogComponent

Extends

StarkBaseDialogContent

Index

Properties

Properties

cancel
cancel: string
Type : string
Optional

Label to be set in the "Cancel" button.

initialValue
initialValue: string
Type : string
Optional

Initial value to be set to the prompt input.

label
label: string
Type : string
Optional

Text to be shown as label of the prompt input.

placeholder
placeholder: string
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;
}

results matching ""

    No results matching ""