前端和vue相关的框架(微软为Vue.js推出)

IT之家 9 月 6 日消息,继 React 和 Angular 之后,微软今日宣布为另一大前端开发框架 Vue.js 推出了 Power BI 组件。

前端和vue相关的框架(微软为Vue.js推出)(1)

React、Angular 和 Vue.js 都是著名的 JavaScript 框架,微软 Power BI 则是一款数据可视化工具,可轻松地连接到数据、对数据进行建模和可视化,从而创建报表等。

前端和vue相关的框架(微软为Vue.js推出)(2)

IT之家了解到,微软 Power BI 支持 Vue.js 后,开发者就可以使用该工具分析平台上的数据,并支持嵌入仪表板、问答和其他 Power BI 功能小组件。

前端和vue相关的框架(微软为Vue.js推出)(3)

导入库:

import{PowerBIReportEmbed}from'powerbi-client-vue-js';

嵌入示例:

<PowerBIReportEmbed :embedConfig={{ type:"report", id:"<ReportId>", embedUrl:"<EmbedUrl>", accessToken:"<AccessToken>", tokenType:models.TokenType.Embed, settings:{ panes:{ filters:{ expanded:false, visible:false } }, background:models.BackgroundType.Transparent, } }} :cssClassName={"reportClass"} :phasedEmbedding={false} :eventHandlers={ newMap([ ['loaded',()=>console.log('Reportloaded');], ['rendered',()=>console.log('Reportrendered');], ['error',(event)=>console.log(event.detail);] ]) } > </PowerBIReportEmbed>

,

免责声明:本文仅代表文章作者的个人观点,与本站无关。其原创性、真实性以及文中陈述文字和内容未经本站证实,对本文以及其中全部或者部分内容文字的真实性、完整性和原创性本站不作任何保证或承诺,请读者仅作参考,并自行核实相关内容。文章投诉邮箱:anhduc.ph@yahoo.com

    分享
    投诉
    首页