Angula 4 based Spring-Flo missing files

This commit is contained in:
BoykoAlex
2017-08-22 11:49:47 -04:00
parent 7ad4d7afd6
commit 9c584e7ad3
102 changed files with 7282 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
import { LibService } from 'spring-flo';
export declare class AppComponent {
meaning: number;
constructor(libService: LibService);
}

View File

@@ -0,0 +1,2 @@
<my-lib></my-lib>
<h3>Meaning is: {{meaning}}</h3>

View File

@@ -0,0 +1,13 @@
import { Component } from '@angular/core';
import { LibService } from 'spring-flo';
@Component({
selector: 'integration-app',
templateUrl: './app.component.html',
})
export class AppComponent {
meaning: number;
constructor(libService: LibService) {
this.meaning = libService.getMeaning();
}
}

2
integration/src/app/app.module.d.ts vendored Normal file
View File

@@ -0,0 +1,2 @@
export declare class AppModule {
}

View File

@@ -0,0 +1,12 @@
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { LibModule } from 'spring-flo';
import { AppComponent } from './app.component';
@NgModule({
imports: [ BrowserModule, LibModule],
declarations: [ AppComponent ],
bootstrap: [ AppComponent ]
})
export class AppModule { }