Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import {
- Component,
- Input
- }
- from '@angular/core';
- @Component({
- template: `
- <div>
- <p>{{myInput}}</p>
- <p>{{someInternalValue}}</p>
- </div>
- `
- })
- class MyComponent {
- @Input() myInput: any;
- someInternalValue: any;
- // ...
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement