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
| Property | Type | Description |
|---|---|---|
contextMenu | TCustomContextMenuActions | Context menu actions grouped by entity type. See TCustomContextMenuActions. |
createMenu | TCustomCreateAction[] | Items added to the create ("+") menu. Available in SDKMode.Manager and SDKMode.Personal. |