devextreme
Version:
HTML5 JavaScript Component Suite for Responsive Web Development
25 lines (18 loc) • 881 B
TypeScript
/**
* DevExtreme (ui/dialog.d.ts)
* Version: 20.1.7
* Build date: Tue Aug 25 2020
*
* Copyright (c) 2012 - 2020 Developer Express Inc. ALL RIGHTS RESERVED
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
*/
import '../jquery_augmentation';
import {
dxButtonOptions
} from './button';
/** Displays an alert dialog with a message and OK button. */
export function alert(messageHtml: string, title: string): Promise<void> & JQueryPromise<void>;
/** Creates a confirmation dialog with a message and Yes and No buttons. */
export function confirm(messageHtml: string, title: string): Promise<boolean> & JQueryPromise<boolean>;
/** Creates a dialog with custom buttons. */
export function custom(options: { title?: string, messageHtml?: string, buttons?: Array<dxButtonOptions>, showTitle?: boolean, message?: string, dragEnabled?: boolean }): any;