mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-30 03:43:40 +01:00
ac8775115f
-- EgwPopupActionImplementation now only binds one Handler iff FindActionTarget is implemented and actionObjectInterface has attribute tree set. This is only the case for EgwDragDropShoelaceTree
11 lines
390 B
TypeScript
11 lines
390 B
TypeScript
import {EgwActionObject} from "../egw_action/EgwActionObject";
|
|
|
|
export interface FindActionTarget
|
|
{
|
|
/**
|
|
* returns the closest Item to the click position, and the corresponding EgwActionObject
|
|
* @param _event the click event
|
|
* @returns { target:HTMLElement, action:EgwActionObject }
|
|
*/
|
|
findActionTarget(_event): { target: HTMLElement, action: EgwActionObject };
|
|
} |