@ionic/angular#PopoverController TypeScript Examples

The following examples show how to use @ionic/angular#PopoverController. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: vendor.page.ts    From Uber-ServeMe-System with MIT License 6 votes vote down vote up
constructor(
    private afAuth: AngularFireAuth,
    private userService: UserService,
    private loadingCtrl: LoadingController,
    private homeServiceService: HomeServiceService,
    private toastCtrl: ToastController,
    public firestore: AngularFirestore,
    private popCtrl: PopoverController,
  ) {
 
   }
Example #2
Source File: titlebar.component.ts    From Elastos.Essentials.App with MIT License 6 votes vote down vote up
constructor(
        public themeService: GlobalThemeService,
        protected popoverCtrl: PopoverController,
        public globalNav: GlobalNavService,
        public globalNotifications: GlobalNotificationsService,
    ) {
        themeService.activeTheme.subscribe((activeTheme) => {
            this.setTitleBarTheme(activeTheme);
        });

        // Set home navigation for all apps
        this.setIcon(TitleBarIconSlot.OUTER_LEFT, { key: null, iconPath: BuiltInIcon.ELASTOS });

        // Set the default navigation mode (used by most apps)
        this.setNavigationMode(TitleBarNavigationMode.BACK);
    }
Example #3
Source File: app.component.ts    From fyle-mobile-app with MIT License 6 votes vote down vote up
constructor(
    private platform: Platform,
    private router: Router,
    private authService: AuthService,
    private userEventService: UserEventService,
    private menuController: MenuController,
    private deviceService: DeviceService,
    private appVersionService: AppVersionService,
    private routerAuthService: RouterAuthService,
    private networkService: NetworkService,
    private freshChatService: FreshChatService,
    private zone: NgZone,
    private deepLinkService: DeepLinkService,
    private pushNotificationService: PushNotificationService,
    private trackingService: TrackingService,
    private loginInfoService: LoginInfoService,
    private navController: NavController,
    private popoverController: PopoverController
  ) {
    this.initializeApp();
    this.registerBackButtonAction();
  }
Example #4
Source File: overlay.service.ts    From onchat-web with Apache License 2.0 6 votes vote down vote up
constructor(
    private globalData: GlobalData,
    private toastCtrl: ToastController,
    private alertCtrl: AlertController,
    private modalCtrl: ModalController,
    private loadingCtrl: LoadingController,
    private popoverCtrl: PopoverController,
    private actionSheetCtrl: ActionSheetController,
    private notificationCtrl: NotificationController,
    @Inject(DOCUMENT) private document: Document,
    @Inject(NAVIGATOR) private navigator: Navigator
  ) { }
Example #5
Source File: main.component.ts    From WiLearning with GNU Affero General Public License v3.0 6 votes vote down vote up
constructor(
    public profile: ProfileService,
    public peer: PeerService,
    public chat: ChatService,
    public classroom: ClassroomService,
    public i18n: I18nService,
    private menu: MenuController,
    private platform: Platform,
    private router: Router,
    private signaling: SignalingService,
    private logger: LoggerService,
    private eventbus: EventbusService,
    private popoverController: PopoverController,
    private modalController: ModalController,
    private ds: DocumentService,
    private alert: AlertController,
    private media: MediaService,
  ) {
    this.initializeApp();

    window.onunload = async (e) => {
      await this.signaling.sendClosePeer(this.classroom.bClassStarter);
    };
  }
Example #6
Source File: vendorhome-popover.component.ts    From Uber-ServeMe-System with MIT License 5 votes vote down vote up
constructor(
    public route: Router,
    public popCtrl: PopoverController,
  ) { }
Example #7
Source File: popover.component.ts    From mylog14 with GNU General Public License v3.0 5 votes vote down vote up
constructor(
    private readonly popoverCtrl: PopoverController,
  ) { }
Example #8
Source File: confirmation-popup.component.ts    From Elastos.Essentials.App with MIT License 5 votes vote down vote up
constructor(
    private popover: PopoverController,
    private navParams: NavParams,
    public translate: TranslateService,
    public theme: GlobalThemeService
  ) { }
Example #9
Source File: popup.component.ts    From fyle-mobile-app with MIT License 5 votes vote down vote up
constructor(private popoverController: PopoverController, private router: Router) {}