From d78dedcd72faf7fb3919fe38e4634f328bf2dd69 Mon Sep 17 00:00:00 2001 From: GitHub Actions Bot <> Date: Fri, 27 Sep 2024 13:32:04 +0000 Subject: [PATCH] Update API doc --- apps/showcase/doc/common/apidoc/index.json | 69 ++++++++++++++++++++++ 1 file changed, 69 insertions(+) diff --git a/apps/showcase/doc/common/apidoc/index.json b/apps/showcase/doc/common/apidoc/index.json index 110911409..48eb66c5c 100644 --- a/apps/showcase/doc/common/apidoc/index.json +++ b/apps/showcase/doc/common/apidoc/index.json @@ -67833,6 +67833,29 @@ "methods": [], "extendedTypes": "TreeTableSortEvent" }, + "TreeTableRowContextMenuEvent": { + "description": "Custom row context menu event.", + "relatedProp": "TreeTableEmitsOptions['row-contextmenu']", + "props": [ + { + "name": "originalEvent", + "optional": false, + "readonly": false, + "type": "Event", + "default": "", + "description": "Browser event." + }, + { + "name": "node", + "optional": false, + "readonly": false, + "type": "TreeNode", + "default": "", + "description": "Selected row data." + } + ], + "methods": [] + }, "TreeTableSortMeta": { "description": "Custom sort metadata.", "relatedProp": "", @@ -68264,6 +68287,22 @@ "default": "false", "description": "Defines how multiple items can be selected, when true metaKey needs to be pressed to select or unselect an item and when set to false selection of each item can be toggled individually.\nOn touch enabled devices, metaKeySelection is turned off automatically." }, + { + "name": "contextMenu", + "optional": true, + "readonly": false, + "type": "boolean", + "default": "false", + "description": "Enables context menu integration." + }, + { + "name": "contextMenuSelection", + "optional": true, + "readonly": false, + "type": "any", + "default": "", + "description": "Selected row instance with the ContextMenu." + }, { "name": "rows", "optional": true, @@ -68732,6 +68771,19 @@ "returnType": "void", "description": "Emitted when the selection keys change." }, + { + "name": "update:contextMenuSelection", + "parameters": [ + { + "name": "value", + "optional": false, + "type": "any", + "description": "New value." + } + ], + "returnType": "void", + "description": "Emitted when the contextMenuSelection changes." + }, { "name": "update:first", "parameters": [ @@ -68900,6 +68952,19 @@ ], "returnType": "void", "description": "Callback to invoke when a column is resized." + }, + { + "name": "row-contextmenu", + "parameters": [ + { + "name": "event", + "optional": false, + "type": "TreeTableRowContextMenuEvent", + "description": "Custom row context menu event." + } + ], + "returnType": "void", + "description": "Callback to invoke when a row is selected with a ContextMenu." } ] } @@ -68940,6 +69005,10 @@ "description": "Custom filter event.", "props": [] }, + "TreeTableRowContextMenuEvent": { + "description": "Custom row context menu event.", + "props": [] + }, "TreeTableSortMeta": { "description": "Custom sort metadata.", "props": []