0.0.3 • Published 6 years ago

jixiu.campaignapis.angular2 v0.0.3

Weekly downloads
-
License
MIT
Repository
-
Last release
6 years ago

In your angular project:

// app.module.ts
import { IdentityServerClient } from 'jixiu.identityserver';
@NgModule({
    providers: [ IdentityServerClient ],
})
export class AppModule { }


// demo.ts
import { Component, OnInit } from '@angular/core';
import { IdentityServerClient } from 'jixiu.identityserver';
@Component({
  selector: 'demo',
})
export class DemoComponent implements OnInit {

  constructor(private client:IdentityServerClient) { }

  ngOnInit() {
    //this.client.{apis}
  }
}
0.0.3

6 years ago

0.0.2

6 years ago