egroupware_official/api/js/etemplate/FindActionTarget.ts

11 lines
390 B
TypeScript
Raw Normal View History

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 };
}