Please help me, how to connect the button in the webview with the Button component of HISE
-
I use a webview component, which loads an html file with a button in it. When I click the button in the webview, I hope it can perform the same operation as the Button component of HISE. How can I do it?
-
@CatABC
OK, I think I figured it out. Using webview requires communication.wv.bindCallback("wvfunctionNmae", function(args)
inline function onButton1Control(component, value) { wv.callFunction("wvfunctionNmae", { }); }; Content.getComponent("Button1").setControlCallback(onButton1Control);