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


TypeScript ionic-angular.PopoverController類代碼示例

本文整理匯總了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
    });
  }
開發者ID:Linko91,項目名稱:posys,代碼行數:7,代碼來源:transactionpromo.ts

示例2: presentPopover

 presentPopover(event){
     let popover = this.popoverCtrl.create(ConfigurationPage,{
         sources: this.sources,
         date: this.date
     });
     popover.present({
         ev:event
     });
 }
開發者ID:stevenluong,項目名稱:apollo,代碼行數:9,代碼來源:list.ts

示例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;
 }
開發者ID:qwb0920,項目名稱:ext-ionic,代碼行數:10,代碼來源:signature-pad-controller.ts

示例4: presentPopover

    presentPopover(ev) {
        let popover = this.popoverCtrl.create(IdentityPopoverComponent
        // , {
        //     contentEle: this.content.nativeElement,
        //     textEle: this.text.nativeElement
        // }
        );

        popover.present({
            ev: ev
        });
    }
開發者ID:JacekKosciesza,項目名稱:InvestSystemsOrg,代碼行數:12,代碼來源:company-list.component.ts

示例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();
     }
   });
 }
開發者ID:jbw91,項目名稱:scripture-golf,代碼行數:14,代碼來源:home.ts

示例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);
      }
    });
  }
開發者ID:elylucas,項目名稱:denverdevdayapp,代碼行數:14,代碼來源:session-detail.ts

示例7: onClickSelectDate

 onClickSelectDate() {
   let popover = this.popoverCtrl.create(TaxiDriverMy);
   popover.present();
 }
開發者ID:qwb0920,項目名稱:TaxiBus,代碼行數:4,代碼來源:analyze.ts

示例8: presentPopover

 presentPopover(myEvent) {
   let popover = this.popover.create(PopoverPage);
   popover.present({
     ev: myEvent
   });
 }
開發者ID:jgw96,項目名稱:overlay-test,代碼行數:6,代碼來源:page1.ts

示例9: presentPopover

 presentPopover(event) {
   let popover = this.popoverCtrl.create(PopoverPage);
   popover.present({ ev: event });
 }
開發者ID:iplay88keys,項目名稱:ShowTrackerApp,代碼行數:4,代碼來源:watchlist.ts

示例10: presentPopover

  presentPopover() {
   let popover = this.popOver.create(NewemrpopoverPage);
   popover.present();
 }
開發者ID:NivKapade,項目名稱:ChuzDrApp,代碼行數:4,代碼來源:medical-record.ts


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