当前位置: 首页>>代码示例>>TypeScript>>正文


TypeScript ModalDirective.show方法代码示例

本文整理汇总了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();
   
 }
开发者ID:bpblack,项目名称:baker-patrol-frontend,代码行数:9,代码来源:duty_day.component.ts

示例2: openEditModal

 openEditModal() {
     this.editModal.show();  
 }
开发者ID:NazDov,项目名称:myosbb,代码行数:3,代码来源:role-edit-form.component.ts

示例3: show

 show(){
     this.modal.show(); 
 }
开发者ID:Kraigo,项目名称:TimeTracker,代码行数:3,代码来源:categories-modal.component.ts

示例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();
 }
开发者ID:bpblack,项目名称:baker-patrol-frontend,代码行数:6,代码来源:patrols.component.ts

示例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();
 }
开发者ID:bpblack,项目名称:baker-patrol-frontend,代码行数:6,代码来源:patrols.component.ts

示例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();
 }
开发者ID:bpblack,项目名称:baker-patrol-frontend,代码行数:6,代码来源:patrols.component.ts

示例7: openCloseModal

 openCloseModal(vote:Vote): void {
     this.vote = vote;
     this.closeModal.show();   
 }
开发者ID:NazDov,项目名称:myosbb,代码行数:4,代码来源:vote-close-form.component.ts

示例8: showChildModal

 public showChildModal():void {
     this.childModal.show();
 }
开发者ID:PwBwolf,项目名称:TGR,代码行数:3,代码来源:navigation.component.ts

示例9: openAddModal

 openAddModal() {
     this.addVoteModal.show();  
 }
开发者ID:NazDov,项目名称:myosbb,代码行数:3,代码来源:vote-add-form.component.ts

示例10: openDelModal

 openDelModal(ticket:ITicket):void {
     this.ticket = ticket;
     this.delModal.show();
 }
开发者ID:NazDov,项目名称:myosbb,代码行数:4,代码来源:ticket-del-form.component.ts


注:本文中的ng2-bootstrap/ng2-bootstrap.ModalDirective.show方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。