Advertisement
Guest User

Untitled

a guest
Apr 20th, 2019
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. import {
  2. Component,
  3. Input
  4. }
  5. from '@angular/core';
  6. @Component({
  7. template: `
  8. <div>
  9. <p>{{myInput}}</p>
  10. <p>{{someInternalValue}}</p>
  11. </div>
  12. `
  13. })
  14. class MyComponent {
  15. @Input() myInput: any;
  16. someInternalValue: any;
  17. // ...
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement