XuanchenLin / NanUI

NanUI is an open source .NET project for developers who want to create Windows desktop applications with HTML, CSS and JavaScript.
https://github.com/Xuanchenlin/NanUI
MIT License
3.72k stars 661 forks source link

SendDataMessage 前端怎么接收消息[问题] #351

Closed Aries051211 closed 1 year ago

Aries051211 commented 1 year ago

NanUI/Formium版本 NanUI/Formium Version

操作系统 / Windows Version

问题描述 / QUESTION

XuanchenLin commented 1 year ago

这是一个实验性的功能,我并没有共开。如果想尝试,那么前端请用 formium.onDataMessageReceived(function(msg) {}) 注册接收函数来接收后端通过 SendDataMessage 发过来的 JSON 字符,反之亦然~