JsBridge
JsBridge copied to clipboard
1. Modify .csproj so that it can run on Windows 10 14393 2. Add a method CallFunctionReturnValue, just copy the CallFunction method and make it returns a string value.
需求:ChakraHost.CallFunction 需要有返回值支持!!! 我目前有一个项目。需要有这样的支持。像下面这样: public string callJs(SdSource source, string fun, params object[] args) { try { return engine.CallFunction(fun, args.ToArray()); } catch (Exception ex) { Util.log(source, "JsEngine.callJs:" + fun, ex.Message, ex); return...
Hi, Not sure if this is an issue, or there is a different way of doing this. We have an existing class that implements from a Base Class, which we...
`var ctx = document.createElement('canvas').getContext('experimental-webgl');` What needs to be done to make that works? ``` `public object getContext(string contextType) { if (contextType == "2d") { if (this.context == null) { this.context...
I have added **CharkraBridge.winmd** from dist folder of your project as a reference in my project to use ChakraHost API, but I am facing getting exception when debug mode is...
I observe rather weird behavior. I created a 'Class Library (Universal Windows)' project, put all logic related to ChakraBridge usage there, then created a 'Unit Test App (Universal Windows)' project...
Hi, This library is really great but there is some questions we don't have answers. One of them is how to handle multiple `sendToHost` functions in the same js file,...
http://stackoverflow.com/questions/35390441/embedding-chakrahost-c-for-webgl-example
I'm trying to understand the project state to decide if it is a good idea to start using it. How active the project development is? What are the plans for...
这样,可以把 JavaScriptValue return 出去。外面可操作性更强。