本文整理汇总了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);
}
示例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);
}
示例6: login
login(){
alert('Email: ' + this.email + ' Password: ' + this.password);
this.popup5.hide();
}
示例7: YourConfirmEvent
YourConfirmEvent(){
alert('You cliked confirm');
this.popup4.hide();
}