Skip to content
This repository was archived by the owner on Aug 25, 2020. It is now read-only.

Commit 3feefa5

Browse files
committed
fix: UiModalRef, make KitFocusManagerService public
1 parent 87ae768 commit 3feefa5

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

projects/ui/src/lib/ui-modal/ui-modal/ui-modal.component.ts

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,17 @@ export class UiModalComponent implements OnInit {
4646

4747
constructor(
4848
private ref: KitModalRef<UiModalComponent>,
49-
private fm: KitFocusManagerService,
49+
private _fm: KitFocusManagerService,
5050
) {
5151
}
5252

5353
ngOnInit() {
54-
this.fm.autoCapture = true;
55-
this.fm.init();
54+
this._fm.autoCapture = true;
55+
this._fm.init();
56+
}
57+
58+
get fm() {
59+
return this._fm;
5660
}
5761

5862
@HostListener('click', ['$event']) clickHandler(event: any) {

0 commit comments

Comments
 (0)