本文整理汇总了TypeScript中ng2-bootstrap/ng2-bootstrap.ModalDirective.show方法的典型用法代码示例。如果您正苦于以下问题:TypeScript ModalDirective.show方法的具体用法?TypeScript ModalDirective.show怎么用?TypeScript ModalDirective.show使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类ng2-bootstrap/ng2-bootstrap.ModalDirective
的用法示例。
在下文中一共展示了ModalDirective.show方法的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的TypeScript代码示例。
示例1: showManagePatrolModal
showManagePatrolModal(index: number, patrolId: number, patrolName: string, hasSubs: boolean, hasPending: boolean) {
this.modalState = new ModalState(index, patrolId, patrolName, hasSubs, hasPending);
this.error = '';
if (hasSubs) {
this.updateSubHistory(patrolId);
}
this.managePatrolModal.show();
}
示例2: openEditModal
openEditModal() {
this.editModal.show();
}
示例3: show
show(){
this.modal.show();
}
示例4: showManageRequestModal
// Sub request controls
showManageRequestModal($event) {
this.manageRequestTabset=true;
this.modalState = new ModalState($event.index, 0, $event.date, $event.requestId, 0, $event.subName);
this.manageRequestModal.show();
}
示例5: showManageSubModal
// Sub management modal controls
showManageSubModal($event) {
this.manageSubTabset=true;
this.modalState = new ModalState($event.index, $event.patrolId, $event.date, $event.subId, $event.subUserId, $event.subName);
this.manageSubModal.show();
}
示例6: showCreateSubModal
// Sub request creation modal controls
showCreateSubModal($event) {
this.createSubTabset = true;
this.modalState = new ModalState($event.index, $event.patrolId, $event.date);
this.createSubModal.show();
}
示例7: openCloseModal
openCloseModal(vote:Vote): void {
this.vote = vote;
this.closeModal.show();
}
示例8: showChildModal
public showChildModal():void {
this.childModal.show();
}
示例9: openAddModal
openAddModal() {
this.addVoteModal.show();
}
示例10: openDelModal
openDelModal(ticket:ITicket):void {
this.ticket = ticket;
this.delModal.show();
}