本文整理匯總了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);
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}