【问题标题】:Angular2 how to integrate TIBCO spotfireAngular2如何集成TIBCO spotfire
【发布时间】:2018-02-02 12:55:02
【问题描述】:

我正在尝试将 spotfire 可视化集成到 angular2 中。我已经下载了 spotfire api javascript 即。 spotfireapi.js

我不知道如何在 Angular2 组件中使用它。实例化以下内容时出现错误:

var customization = new spotfire.webPlayer.Customization();

谁能指导我在 angular2 中使用这个 3rd 方 api 的正确方法?

谢谢

【问题讨论】:

    标签: angular2-directives spotfire


    【解决方案1】:

    在你的组件导入后添加这一行:

    declare var spotfire: any;

    这将解决您所说的错误。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2020-07-31
      相关资源
      最近更新 更多