Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@rahulsahay19
Created July 9, 2018 04:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rahulsahay19/8699af0eb1c4181da111ae4b004c3956 to your computer and use it in GitHub Desktop.
Save rahulsahay19/8699af0eb1c4181da111ae4b004c3956 to your computer and use it in GitHub Desktop.
greet.component.ts
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