开发者

GWT-Ext migration to native gwt. Is JavaScriptObjectHelper analog in native gwt v2.4?

开发者 https://www.devze.com 2023-04-10 09:12 出处:网络
I am working on migrating a large GWT applic开发者_开发百科ation from gwt-ext to native GWT v2.4. In gwt-ext there is a class called JavaScriptObjectHelper. Is there a corresponding class in the nativ

I am working on migrating a large GWT applic开发者_开发百科ation from gwt-ext to native GWT v2.4. In gwt-ext there is a class called JavaScriptObjectHelper. Is there a corresponding class in the native gwt libraries?


Some methods from JavaScriptObjectHelper are available elsewhere: JavaScriptObject.createObject() and createArray(), JsArrayand friends, Element's methods (getProperty, getAttribute, etc.), and of course Boolean.valueOf() and similar methods on Integer, Float, Date, etc.

A few other methods have no equivalent though: apply, arrayConvert, convertMapToJavaScriptArray, etc.

0

精彩评论

暂无评论...
验证码 换一张
取 消