Created
July 9, 2018 04:37
-
-
Save rahulsahay19/8699af0eb1c4181da111ae4b004c3956 to your computer and use it in GitHub Desktop.
greet.component.ts
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 { Component, OnInit, ViewEncapsulation } from '@angular/core'; | |
@Component({ | |
selector: 'app-greet', | |
template: ` | |
<h2> | |
Welcome to Angular Elements demo! | |
</h2> | |
`, | |
styles: [], | |
encapsulation: ViewEncapsulation.Native | |
}) | |
export class GreetComponent implements OnInit { | |
constructor() { } | |
ngOnInit() { | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment