feat(csharp): onUserActionRequired

This commit is contained in:
sshakndr
2025-02-06 15:09:45 +07:00
parent a1243c2ba1
commit 5ea1eb6995
2 changed files with 6 additions and 0 deletions

View File

@ -1,5 +1,6 @@
# Change Log # Change Log
- csharp: onUserActionRequired
- nodejs: onUserActionRequired - nodejs: onUserActionRequired
- nodejs: support vsdx in diagram editor - nodejs: support vsdx in diagram editor
- golang: new integration example - golang: new integration example

View File

@ -129,6 +129,10 @@
innerAlert("Document editor closed successfully"); innerAlert("Document editor closed successfully");
}; };
var onUserActionRequired = function () {
console.log("User action required");
};
// the meta information of the document is changed via the meta command // the meta information of the document is changed via the meta command
var onMetaChange = function (event) { var onMetaChange = function (event) {
if (event.data.favorite !== undefined) { if (event.data.favorite !== undefined) {
@ -339,6 +343,7 @@
config.events = { config.events = {
'onAppReady': onAppReady, 'onAppReady': onAppReady,
'onDocumentStateChange': onDocumentStateChange, 'onDocumentStateChange': onDocumentStateChange,
'onUserActionRequired': onUserActionRequired,
'onError': onError, 'onError': onError,
'onOutdatedVersion': onOutdatedVersion, 'onOutdatedVersion': onOutdatedVersion,
'onMakeActionLink': onMakeActionLink, 'onMakeActionLink': onMakeActionLink,