Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //ignoring all imports
- @component({
- selector: 'app-child',
- template: './child.component.html'
- })
- import class ChildComponent {
- //logic not of use
- public isData: boolean = false;
- }
- <input type="text" value="xyz" [readonly]="isData">
- //ignoring all imports
- <app-child></app-child>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement