UNPKG

@progress/kendo-react-popup

Version:

React Popup positions a piece of content next to a specific anchor component. KendoReact Popup package

65 lines (64 loc) 1.51 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 { PopupHandle, PopupState } from '../Popup.js'; /** * Represents the object of the `Open` Popup event. */ export interface OpenEvent { /** * An event target. */ target: PopupHandle; } /** * Represents the object of the `Close` Popup event. */ export interface CloseEvent { /** * An event target. */ target: PopupHandle; } /** * Represents the object of the `Position` Popup event. */ export interface PositionEvent { /** * An event target. */ target: PopupHandle; /** * Indicates if the position is fitted. */ fitted: boolean; /** * Indicates if the position is flipped. */ flipped: boolean; } /** * Represents the object of the `MouseDownOutside` Popup event. */ export interface MouseDownOutsideEvent { /** * An event target. */ target: PopupHandle; /** * The event object. */ event: MouseEvent; /** * The state of the Popup. */ state: PopupState; /** * Indicates if the MouseDown event is triggered over the anchor of the Popup. */ isAnchorClicked: boolean; }