Skip to main content

TCustomActionsConfig

Custom actions of a frame, set with TFrameConfig.customActions or SDKInstance.setCustomActions.

type TCustomActionsConfig = object;

Example​

await instance.setCustomActions({
contextMenu: {
file: [{ key: "send", label: "Send to CRM" }],
room: [{ key: "share-contacts", label: "Share to CRM contacts" }],
},
createMenu: [{ key: "upload-from-crm", label: "Upload from CRM" }],
});

Properties​

PropertyTypeDescription
contextMenuTCustomContextMenuActionsContext menu actions grouped by entity type. See TCustomContextMenuActions.
createMenuTCustomCreateAction[]Items added to the create ("+") menu. Available in SDKMode.Manager and SDKMode.Personal.