Skip to content

Commit 665dc19

Browse files
Merge branch 'main' into key-indicator-harness
2 parents 67d640c + 4be1e9f commit 665dc19

File tree

10 files changed

+622
-609
lines changed

10 files changed

+622
-609
lines changed

libs/components/indicators/src/lib/modules/wait/fixtures/wait.component.fixture.ts

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { SkyWaitService } from '../wait.service';
88
templateUrl: './wait.component.fixture.html',
99
})
1010
export class SkyWaitTestComponent {
11-
public ariaLabel: string;
11+
public ariaLabel: string | undefined;
1212

1313
public isWaiting = false;
1414
public isFullPage = false;
@@ -26,23 +26,27 @@ export class SkyWaitTestComponent {
2626
public secondWaitIsWaiting = false;
2727

2828
@ViewChild(SkyWaitComponent)
29-
public waitComponent: SkyWaitComponent;
29+
public waitComponent: SkyWaitComponent | undefined;
3030

31-
constructor(private waitService: SkyWaitService) {}
31+
#waitSvc: SkyWaitService;
32+
33+
constructor(waitSvc: SkyWaitService) {
34+
this.#waitSvc = waitSvc;
35+
}
3236

3337
public endBlockingWait(): void {
34-
this.waitService.endBlockingPageWait();
38+
this.#waitSvc.endBlockingPageWait();
3539
}
3640

3741
public endNonBlockingWait(): void {
38-
this.waitService.endNonBlockingPageWait();
42+
this.#waitSvc.endNonBlockingPageWait();
3943
}
4044

4145
public startBlockingWait(): void {
42-
this.waitService.beginBlockingPageWait();
46+
this.#waitSvc.beginBlockingPageWait();
4347
}
4448

4549
public startNonBlockingWait(): void {
46-
this.waitService.beginNonBlockingPageWait();
50+
this.#waitSvc.beginNonBlockingPageWait();
4751
}
4852
}

0 commit comments

Comments
 (0)