本文整理匯總了TypeScript中ionic-angular.PopoverController類的典型用法代碼示例。如果您正苦於以下問題:TypeScript PopoverController類的具體用法?TypeScript PopoverController怎麽用?TypeScript PopoverController使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。
在下文中一共展示了PopoverController類的10個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的TypeScript代碼示例。
示例1: moreOptions
moreOptions($event) {
const popover = this.popoverCtrl.create(TransactionPromoPopoverComponent, { buttons: this.buttons, item: this.item });
popover.present({
ev: $event
});
}
示例2: presentPopover
presentPopover(event){
let popover = this.popoverCtrl.create(ConfigurationPage,{
sources: this.sources,
date: this.date
});
popover.present({
ev:event
});
}
示例3: 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;
}
示例4: presentPopover
presentPopover(ev) {
let popover = this.popoverCtrl.create(IdentityPopoverComponent
// , {
// contentEle: this.content.nativeElement,
// textEle: this.text.nativeElement
// }
);
popover.present({
ev: ev
});
}
示例5: if
openPopover(event) {
let popover = this.popoverCtrl.create(UserPopover);
popover.present({
ev: event
});
popover.onDidDismiss((action) => {
if(action === 'logout') {
this.logout();
}
else if(action === 'share') {
this.share();
}
});
}
示例6: moreClick
moreClick(event) {
let popover = this.popoverCtrl.create(MoreMenu, {
isFavorite: this.favoritesService.isFavorite(this.session)
});
popover.present({
ev: event
});
popover.onDidDismiss(data => {
if (data === 'toggleFavorite') {
this.favoritesService.toggleFavorite(this.session);
}
});
}
示例7: onClickSelectDate
onClickSelectDate() {
let popover = this.popoverCtrl.create(TaxiDriverMy);
popover.present();
}
示例8: presentPopover
presentPopover(myEvent) {
let popover = this.popover.create(PopoverPage);
popover.present({
ev: myEvent
});
}
示例9: presentPopover
presentPopover(event) {
let popover = this.popoverCtrl.create(PopoverPage);
popover.present({ ev: event });
}
示例10: presentPopover
presentPopover() {
let popover = this.popOver.create(NewemrpopoverPage);
popover.present();
}