akveo / akveo/nebular

the NbDialogService doesn't open when i trie to open it in ngOnInit methode

オープン
#2,513 コメント 0 件 リアクション 1 件 担当者 0 名 GitHub で見る
主要言語
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 はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。