JavaScript library for embedding Power BI into your apps. Check out the docs website and wiki for more information.
Перейти к файлу
Shahak Yosef 2fa895dff0 Merged PR 99756: Release version 2.13.0
This PR contains:
- Version bump for the latest models versoin (1.4.0)
- Version bump for the javascript sdk
- Fix broken playground (mirror gh-pages changes)
- Remove survey banner as the survey ended.
2020-07-14 14:45:26 +00:00
.pipelines Merged PR 99785: [JS SDK]: Include only the Microsoft.PowerBI.JavaScript nupkg specifically 2020-07-14 14:05:06 +00:00
.vscode Auto-format all files to use consistent tab size of 2. 2016-08-22 15:09:15 -07:00
demo Merged PR 99756: Release version 2.13.0 2020-07-14 14:45:26 +00:00
dist Merged PR 99756: Release version 2.13.0 2020-07-14 14:45:26 +00:00
src Merged PR 99756: Release version 2.13.0 2020-07-14 14:45:26 +00:00
test Merged PR 88804: Removed html element comparison based on id 2020-05-26 18:06:37 +00:00
.gitignore Merged PR 63865: Remove Bower, use models 1.3.2 and update sdk to 2.10.4 2020-02-05 12:16:25 +00:00
.travis.yml Merge branch 'master' into release 2016-08-31 12:59:15 -07:00
CHANGELOG.md Update report component to get filterPaneEnabled and navContentPaneEnabled settings from powerbi-settings attributes. 2016-07-07 17:34:11 -07:00
CONTRIBUTING.md Merged PR 63865: Remove Bower, use models 1.3.2 and update sdk to 2.10.4 2020-02-05 12:16:25 +00:00
LICENSE.txt Untrack tmpe2e files, rename the LICENSE and README files to be uppercase 2016-06-06 17:45:33 -07:00
NOTICE.txt Add Colors to code 2017-03-07 18:04:56 +02:00
PowerBI.JavaScript.nuspec Merged PR 9241: updating models and copyright 2018-08-28 08:16:34 +00:00
README.md Merged PR 94257: Adding code of conduct link 2020-06-18 11:30:48 +00:00
gulpfile.js Merged PR 53198: Update karma 2019-10-28 14:40:56 +00:00
karma.conf.js Add ability to test using Firefox browser. 2016-08-23 14:38:03 -07:00
package.json Merged PR 99756: Release version 2.13.0 2020-07-14 14:45:26 +00:00
tsconfig.json Merged PR 63865: Remove Bower, use models 1.3.2 and update sdk to 2.10.4 2020-02-05 12:16:25 +00:00
tslint.json Code formatting. 2017-03-16 11:53:43 +01:00
typings.json Move common interfaces between host and iframe to protocol file with JSON schema validation 2016-06-15 11:01:09 -07:00
webpack.config.js Fix typescript import 2017-07-24 13:28:51 +03:00
webpack.test.config.js Consolidate all tests so they can be run with single command: gulp test --chrome 2016-06-15 17:46:38 -07:00
webpack.test.tsconfig.json Merged PR 63865: Remove Bower, use models 1.3.2 and update sdk to 2.10.4 2020-02-05 12:16:25 +00:00

README.md

powerbi-client

JavaScript library for embedding Power BI into your apps.

Build Status NPM Version Nuget Version NPM Total Downloads NPM Monthly Downloads GitHub tag Gitter

Wiki

See the wiki for more details about embedding, service configuration, setting a default page, page navigation, dynamically applying filters, and more.

Code Docs

See the code docs for detailed information about classes, interfaces, types, etc.

Demo

New live demo for a sample application using the powerbi-client library in scenarios such as page navigation, applying filters, updating settings, and more.

Installation

Install via Nuget:

Install-Package Microsoft.PowerBI.JavaScript

Install from NPM:

npm install --save powerbi-client

Installing beta versions:

npm install --save powerbi-client@beta

Include the library via import or manually

Ideally you would use a module loader or a compilation step to import using ES6 modules as:

import * as pbi from 'powerbi-client';

However, the library is exported as a Universal Module and the powerbi.js script can be included before your app's closing </body> tag as:

<script src="/powerbi-client/dist/powerbi.js"></script>

When included directly, the library is exposed as a global named powerbi-client. There is also another global named powerbi which is an instance of the service.

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.

When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments