From 8cbecc5969b601f2a448a7467c4ac1011d6434bd Mon Sep 17 00:00:00 2001 From: milan Date: Fri, 26 Jul 2024 12:05:03 +0200 Subject: [PATCH] added Documentation for FindActionTarget.ts --- api/js/etemplate/FindActionTarget.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/api/js/etemplate/FindActionTarget.ts b/api/js/etemplate/FindActionTarget.ts index 9c5b2ece68..22f7935993 100644 --- a/api/js/etemplate/FindActionTarget.ts +++ b/api/js/etemplate/FindActionTarget.ts @@ -1,5 +1,11 @@ import {EgwActionObject} from "../egw_action/EgwActionObject"; +/** + * if a class that registers actions implements this interface the Popup actions only bind one event handler on the parent item + * so not every child item will get its own event handler + * Currently only implemented by Et2Tree + * there the actions only bind one contextmenu event listener on the "et2-tree" htmlElement instead of one for each sl-tree-item + */ export interface FindActionTarget { /**