本文整理汇总了TypeScript中ionic-angular.Popover类的典型用法代码示例。如果您正苦于以下问题:TypeScript Popover类的具体用法?TypeScript Popover怎么用?TypeScript Popover使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了Popover类的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的TypeScript代码示例。
示例1: newMessage
newMessage() {
let popover = Popover.create(NewMessagePage, {
messages: this.allMessages
});
this.nav.present(popover);
}
示例2: more
more(ev): void {
const popover = Popover.create(ArticlePopOverComponent, {
textEle: this.text.nativeElement
});
this.nav.present(popover, { ev });
}
示例3: presentPopover
presentPopover(ev) {
let popover = Popover.create(PopWinPage, {
contentEle: this.content.nativeElement,
textEle: this.text.nativeElement
});
this.nav.present(popover, {
ev: ev
});
}
示例4: showEncounters
showEncounters(event) {
let popover = Popover.create(EncountersPage);
this.nav.present(popover, { ev: event });
}
示例5: presentPopover
presentPopover(myEvent) {
let popover = Popover.create(PopoverPage);
this.nav.present(popover, {
ev: myEvent
});
}
示例6: showPopover
showPopover(){
let popover = Pop.create(MyPopover);
this.nav.present(popover);
}
示例7: showDeadTimePopover
showDeadTimePopover(ev) {
let popover = Popover.create(DeadTimePopover);
this.nav.present(popover, {
ev: ev
})
}
示例8: showMinPricePopover
showMinPricePopover(ev) {
let popover = Popover.create(MinPricePopover);
this.nav.present(popover, {
ev: ev
})
}
示例9: show
show(options: SignaturePadOptions) {
this.pop = this.popoverCtrl.create(SignaturePadCmp, { options: options }, { cssClass: 'signature-popover' });
this.pop.present();
this.pop.onDidDismiss((signature: Signature) => {
if (signature) {
options.onDidDismiss(signature);
}
});
return this;
}