-
-
Save klyngen/b33295ad760313363d054fb4f5521bd4 to your computer and use it in GitHub Desktop.
Angular web components example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { BrowserModule } from '@angular/platform-browser'; | |
import { NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core'; | |
import { AppComponent } from './app.component'; | |
@NgModule({ | |
declarations: [ | |
AppComponent | |
], | |
imports: [ | |
BrowserModule | |
], | |
schemas: [ CUSTOM_ELEMENTS_SCHEMA ], | |
providers: [], | |
bootstrap: [AppComponent] | |
}) | |
export class AppModule { } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div> | |
<overtime-visualizer [overtimeData]="data" [subtract]="subtract"></overtime-visualizer> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment