docs(common): fix selector field in NgIfAs example component (#35854)
PR Close #35854
This commit is contained in:
parent
655da32837
commit
7c3c8d6d10
|
@ -61,8 +61,8 @@ describe('ngIf', () => {
|
|||
});
|
||||
});
|
||||
|
||||
describe('ng-if-let', () => {
|
||||
let comp = 'ng-if-let';
|
||||
describe('ng-if-as', () => {
|
||||
let comp = 'ng-if-as';
|
||||
it('should hide/show content', () => {
|
||||
browser.get(URL);
|
||||
waitForElement(comp);
|
||||
|
|
|
@ -75,7 +75,7 @@ export class NgIfThenElse implements OnInit {
|
|||
|
||||
// #docregion NgIfAs
|
||||
@Component({
|
||||
selector: 'ng-if-let',
|
||||
selector: 'ng-if-as',
|
||||
template: `
|
||||
<button (click)="nextUser()">Next User</button>
|
||||
<br>
|
||||
|
@ -112,7 +112,7 @@ export class NgIfAs {
|
|||
<hr>
|
||||
<ng-if-then-else></ng-if-then-else>
|
||||
<hr>
|
||||
<ng-if-let></ng-if-let>
|
||||
<ng-if-as></ng-if-as>
|
||||
<hr>
|
||||
`
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue