dream-num / univer

Univer is an open-source productivity tool dev kit helping you integrate spreadsheets, docs and slides into your applications.
https://univer.ai
Apache License 2.0
6.74k stars 584 forks source link

[Feature] What should I do if I want to pass a callback function as a parameter to the custom ui handler function to process business logic? #3666

Open 13701138894 opened 1 hour ago

13701138894 commented 1 hour ago

初始清单

问题

image 想在这里边执行外边传进来的函数

univer-bot[bot] commented 1 hour ago

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿

Origin Title: [Feature] 如果我想给自定义ui的handler函数传个回调函数作为参数,用来处理业务逻辑,该怎么做

Title: [Feature] What should I do if I want to pass a callback function as a parameter to the custom ui handler function to process business logic?


Initial list

question

image I want to execute the function passed in from outside here.