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


TypeScript ng2-opd-popup.Popup类代码示例

本文整理汇总了TypeScript中ng2-opd-popup.Popup的典型用法代码示例。如果您正苦于以下问题:TypeScript Popup类的具体用法?TypeScript Popup怎么用?TypeScript Popup使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


在下文中一共展示了Popup类的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的TypeScript代码示例。

示例1: showPopup1

 showPopup1(){
   this.popup1.options = {
           cancleBtnClass: "btn btn-default", 
           confirmBtnClass: "btn btn-default",
           color: "#4180ab",
           header: "Single Popup on a page"}
   this.popup1.show(this.popup1.options);
 }
开发者ID:sowmya12j,项目名称:ng2-opd-popup-sample,代码行数:8,代码来源:multiplepopup.component.ts

示例2: showPopup4

 showPopup4(){
   this.popup4.options = {
           cancleBtnClass: "btn btn-default", 
           confirmBtnClass: "btn btn-default",
           color: "#5cb85c",
           header: "Events...",
           widthProsentage:50,
           animation: "bounceInDown"}
   this.popup4.show(this.popup4.options);
 }
开发者ID:sowmya12j,项目名称:ng2-opd-popup-sample,代码行数:10,代码来源:multiplepopup.component.ts

示例3: showPopup3

 showPopup3(){
   this.popup3.options = {
           cancleBtnClass: "btn btn-default", 
           confirmBtnClass: "btn btn-default",
           color: "#333",
           header: "Animations...",
           widthProsentage:60,
           animation: "bounceIn"}
   this.popup3.show(this.popup3.options);
 }
开发者ID:sowmya12j,项目名称:ng2-opd-popup-sample,代码行数:10,代码来源:multiplepopup.component.ts

示例4: showPopup2

 showPopup2(){
   this.popup2.options = {
           cancleBtnClass: "btn btn-default", 
           confirmBtnClass: "btn btn-default",
           color: "#5cb85c",
           header: "Size 60% of page - color = #5cb85c",
           widthProsentage:60,
           animation:"fadeInUp"}
   this.popup2.show(this.popup2.options);
 }
开发者ID:sowmya12j,项目名称:ng2-opd-popup-sample,代码行数:10,代码来源:multiplepopup.component.ts

示例5: showPopup5

 showPopup5(){
   this.popup5.options = {
           cancleBtnClass: "btn btn-default", 
           confirmBtnClass: "btn btn-mbe-attack",
           color: "#A0DE4F",
           header: "Login...",
           widthProsentage:50,
           animation: "bounceInDown",
           confirmBtnContent: "Login"}
   this.popup5.show(this.popup5.options);
 }
开发者ID:sowmya12j,项目名称:ng2-opd-popup-sample,代码行数:11,代码来源:multiplepopup.component.ts

示例6: login

 login(){
   alert('Email: ' + this.email + '  Password: ' + this.password);
   this.popup5.hide();
 }
开发者ID:sowmya12j,项目名称:ng2-opd-popup-sample,代码行数:4,代码来源:multiplepopup.component.ts

示例7: YourConfirmEvent

 YourConfirmEvent(){
   alert('You cliked confirm');
   this.popup4.hide();
 }
开发者ID:sowmya12j,项目名称:ng2-opd-popup-sample,代码行数:4,代码来源:multiplepopup.component.ts


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