@microsoft/sp-dialog
Version:
SharePoint Framework support for displaying dialog boxes
17 lines • 582 B
TypeScript
import BaseDialog from './BaseDialog';
/**
* Internal implementation of a dialog to mimic browser's prompt() behavior.
* Third-party can use this by calling the static method Dialog.prompt()
*
* @internal
*/
export default class PromptDialog extends BaseDialog {
private _message;
private _defaultValue;
private _resolve;
constructor(message: string, resolve: (value: string | undefined) => void, defaultValue?: string);
resolve: (value: string | undefined) => void;
render(): void;
onAfterClose(): void;
}
//# sourceMappingURL=PromptDialog.d.ts.map