the NbDialogService doesn't open when i trie to open it in ngOnInit methode
オープン
- 主要言語
- TypeScript
- スター
- 8.1k
- フォーク
- 1.5k
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
import { Component, OnInit } from "@angular/core";
import { ModalService } from "../../services/modal.service";
import { NbDialogService, NbWindowService } from "@nebular/theme";
import { VersionModalComponent } from "../modal/version-modal/version-modal.component";
@Component({
selector: "ngx-dashboard",
templateUrl: "./dashboard.component.html"
})
export class DashboardComponent implements OnInit {
constructor(
private modalService: ModalService,
private dialogService: NbDialogService,
private windowService: NbWindowService
) {}
ngOnInit() {
this.dialogService.open(VersionModalComponent, {});
}
}
コントリビューションガイド
評価
この issue はまだ評価されていません。