UNPKG

@progress/kendo-react-dialogs

Version:

React Dialogs provide modal and non-modal windows for showing additional information to the user. KendoReact Dialogs package

56 lines (55 loc) 1.57 kB
/** * @license *------------------------------------------------------------------------------------------- * Copyright © 2026 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the package root for more information *------------------------------------------------------------------------------------------- */ import { DialogHandle } from './Dialog.js'; import { BaseEvent } from '@progress/kendo-react-common'; import { WindowHandle } from './Window.js'; /** * @hidden */ export interface DialogCloseEvent extends BaseEvent<DialogHandle> { } export interface WindowActionsEvent extends BaseEvent<WindowHandle> { /** * The current stage state of the Window. */ state?: 'DEFAULT' | 'FULLSCREEN' | 'MINIMIZED'; } export interface WindowMoveEvent { /** * An event target. */ target: WindowHandle; /** * A native DOM event. */ nativeEvent: any; /** * Indicates that dragging is completed and that the user dropped the resize handler. */ end: boolean; /** * Indicates that the move operation was initialized through dragging. If the Window is moved through the keyboard, the value will be `false`. */ drag: boolean; /** * The new top value of the Window. */ top: number; /** * The new left value of the Window. */ left: number; /** * The new width value of the Window. */ width: number; /** * The new height value of the Window. */ height: number; }