55[ ![ GitHub tag] ( https://img.shields.io/github/tag/microsoft/powerbi-javascript.svg )] ( https://github.com/Microsoft/PowerBI-JavaScript/tags )
66[ ![ Gitter] ( https://img.shields.io/gitter/room/Microsoft/PowerBI-JavaScript.svg )] ( https://gitter.im/Microsoft/PowerBI-JavaScript )
77
8- ## Documentation
8+ ## Wiki
9+ See the [ wiki] ( https://github.com/Microsoft/PowerBI-JavaScript/wiki ) for more details about embedding, service configuration, setting default page, page navigation, dynamically applying filters, and more.
10+
11+ ## Demo
912### [ https://microsoft.github.io/PowerBI-JavaScript ] ( https://microsoft.github.io/PowerBI-JavaScript )
1013
1114## Installation
@@ -26,15 +29,15 @@ Installing beta versions:
2629
2730` npm install --save powerbi-client@beta `
2831
29- ## Setup Power BI for embedding
32+ ## Include the library via import or manually
3033
3134Ideally you would use module loader or compilation step to import using ES6 modules as:
3235
3336``` javascript
3437import * as pbi from ' powerbi-client' ;
3538```
3639
37- However, the library is exported as a Universal Module and the Power BI script can be included before your apps closing ` </body> ` tag as:
40+ However, the library is exported as a Universal Module and the powerbi.js script can be included before your apps closing ` </body> ` tag as:
3841
3942``` html
4043<script src =" /bower_components/powerbi-client/dist/powerbi.js" ></script >
@@ -43,27 +46,4 @@ However, the library is exported as a Universal Module and the Power BI script c
4346When included directly the library is exposd as a global named 'powerbi-client'.
4447There is also another global ` powerbi ` which is an instance of the service.
4548
46- ## Wiki
47- See the [ wiki] ( https://github.com/Microsoft/PowerBI-JavaScript/wiki ) for more details.
48-
49- ## Setting the size of embedded components
50- The report will automatically be embedded based on the size of it's container.
51- To override the default size of the embeds simply add a CSS class attribute or inline styles for width & height.
52-
53- ## Launch an embedded report in fullscreen mode
54- (Assumes element with id ` myReport ` already contained embedded report)
55-
56- ``` javascript
57- var element = document .getElementById (' #myReport' );
58- var report = powerbi .get (element);
59-
60- report .fullscreen ();
61- ```
62-
63- ## Get a reference to a existing Power BI component
64- Retrieve the existing component associated with the element.
65-
66- ` var myPowerBIComponent = powerbi.get(element); `
67-
68-
6949
0 commit comments