Expert
In the following template:
<p [hidden]="isHidden" *ngIf="isReady">{{test}}</p>
And its linked component:
import {Component, OnInit} from '@angular/core';
@Component({
selector: âtest-template',
templateUrl: 'test-template.html'
})
export class TestTemplateComponent implements ngOnInit {
ngOnInit() {
this.isHidden = false;
this.isReady = false;
}
}
What is the true statement about this code?
Author: Mathieu RobinStatus: PublishedQuestion passed 466 times
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!
Similar QuestionsMore questions about AngularJS