angular2-powerbi-tiles

0.1.6 • Public • Published

angular2-powerbi

Installation

To install this library, run:

$ npm install angular2-powerbi --save

Consuming the library

from your Angular AppModule:

import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
 
import { AppComponent } from './app.component';
 
// Import your library
import { PowerBIModule } from 'angular2-powerbi';
 
@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    BrowserModule,
 
    // Specify your library as an import
    PowerBIModule.forRoot()
  ],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule { }

Once your library is imported, you can use its components:

<!-- You can now use your library component in app.component.html -->
<h1>
  {{title}}
</h1>
<powerbi-component embedUrl="https://app.powerbi.com/reportEmbed?reportId=bd851208e"
accessToken="H4sIAAAAAAAEAB2WtQ70CBKE3" type="report" id="bd851208"></powerbi-component> 

Development

To generate all *.js, *.d.ts and *.metadata.json files:

$ npm run build

To lint all *.ts files:

$ npm run lint

License

MIT © Diego Plascencia

Readme

Keywords

Package Sidebar

Install

npm i angular2-powerbi-tiles

Weekly Downloads

0

Version

0.1.6

License

MIT

Unpacked Size

42.5 kB

Total Files

17

Last publish

Collaborators

  • k1dbl4ck