gpt4 book ai didi

java - GWT 的 @JsType - 我需要使用它做什么?

转载 作者:太空宇宙 更新时间:2023-11-04 06:08:45 25 4
gpt4 key购买 nike

我已经了解了在 GWT 应用程序中与 native JavaScript 对象进行互操作的新方法 - 使用 @JsType 注释的接口(interface)的方法: https://docs.google.com/document/d/1tir74SB-ZWrs-gQ8w-lOEV3oMY6u6lF2MmNivDEihZ4/edit#heading=h.7w4qj58w18ep

但是,在GWT的官方网站上我找不到任何相关信息。

有关于此功能的可靠来源吗?

此功能可以在哪个 GWT 版本中使用?

最佳答案

Is there any reliable source about this feature?

https://docs.google.com/file/d/0ByS1wxINeBWjeGYxbkJpamxFZ28/edit

它也通过标志启用:-XjsInteropMode JS

In what GWT's version will this feature work?

gwt-2.7.0

示例: https://github.com/cdigiano/polymergwt

关于java - GWT 的 @JsType - 我需要使用它做什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29005903/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com