當前位置: 首頁>>代碼示例>>TypeScript>>正文


TypeScript Popup.show方法代碼示例

本文整理匯總了TypeScript中ng2-opd-popup.Popup.show方法的典型用法代碼示例。如果您正苦於以下問題:TypeScript Popup.show方法的具體用法?TypeScript Popup.show怎麽用?TypeScript Popup.show使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在ng2-opd-popup.Popup的用法示例。


在下文中一共展示了Popup.show方法的5個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的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


注:本文中的ng2-opd-popup.Popup.show方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。