tinylpc
Results
issues of
tinylpc
js获取值问题
2
mWXSDKInstance.render("WXSample", WXFileUtils.loadFileContent("hello.js", this), map, "123", -1, -1, WXRenderStrategy.APPEND_ASYNC); 参数中的options(代码中的map)、jsonInitData(代码中的"123"),这两个值可以在hello.js文件中获取到吗,若可以,怎么获取?
@WXComponentProp(name= WXDomPropConstant.WX_ATTR_VALUE) public void setText(String value) { ((TextView)mHost).setText(value); } 如上,在.we文件里可以主动设置setText吗?