@ionic/angular#ModalController TypeScript Examples

The following examples show how to use @ionic/angular#ModalController. 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: service-map.page.ts    From Uber-ServeMe-System with MIT License 6 votes vote down vote up
constructor(
    public toastCtrl: ToastController,
    private platform: Platform,
    private loadingCtrl: LoadingController,
    // private ngZone: NgZone,
    public route: Router,
    public activatedRoute: ActivatedRoute,
    public nav: NavController,
    private elementRef: ElementRef,
    private renderer: Renderer2,
    public modalCtrl: ModalController,
    public firestore: AngularFirestore,
    public navCtrl: NavController,
    // private dataService: DataService,
  ) { 
    // console.log('declared var:', google)

    // this.activateRoute.queryParams.subscribe((data: any) => {
    //   console.log("data.service:", data.service)
    //   this.service = data.service
    //   console.log("service1:", this.service)
    // })
  }
Example #2
Source File: add-photo.component.ts    From mylog14 with GNU General Public License v3.0 6 votes vote down vote up
constructor(
    private readonly dataStore: DataStoreService,
    private readonly loadingService: LoadingService,
    private readonly photoService: PhotoService,
    private readonly recordService: RecordService,
    private readonly popoverService: PopoverService,
    private readonly modalCtrl: ModalController,
    private readonly proofService: ProofService,
  ) { }
Example #3
Source File: qrcode.component.ts    From Elastos.Essentials.App with MIT License 6 votes vote down vote up
constructor(
    public theme: GlobalThemeService,
    private globalIntentService: GlobalIntentService,
    private translate: TranslateService,
    private native: NativeService,
    public friendsService: FriendsService,
    private clipboard: Clipboard,
    public modalCtrl: ModalController,
    private navParams: NavParams
  ) {
    this.name = this.navParams.get("name");
    this.didString = this.navParams.get("didstring");
    this.qrCodeString = this.navParams.get("qrcodestring");
  }
Example #4
Source File: add-edit-advance-request.page.ts    From fyle-mobile-app with MIT License 6 votes vote down vote up
constructor(
    private offlineService: OfflineService,
    private activatedRoute: ActivatedRoute,
    private authService: AuthService,
    private router: Router,
    private formBuilder: FormBuilder,
    private advanceRequestsCustomFieldsService: AdvanceRequestsCustomFieldsService,
    private advanceRequestService: AdvanceRequestService,
    private advanceRequestPolicyService: AdvanceRequestPolicyService,
    private modalController: ModalController,
    private statusService: StatusService,
    private loaderService: LoaderService,
    private projectService: ProjectsService,
    private popoverController: PopoverController,
    private transactionsOutboxService: TransactionsOutboxService,
    private fileService: FileService,
    private popupService: PopupService,
    private networkService: NetworkService,
    private modalProperties: ModalPropertiesService,
    private trackingService: TrackingService
  ) {}
Example #5
Source File: schedule.ts    From actions-test with Apache License 2.0 6 votes vote down vote up
constructor(
    public alertCtrl: AlertController,
    public confData: ConferenceData,
    public loadingCtrl: LoadingController,
    public modalCtrl: ModalController,
    public router: Router,
    public toastCtrl: ToastController,
    public user: UserData,
    public config: Config
  ) { }
Example #6
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 #7
Source File: analysis.page.ts    From casual-chess with GNU General Public License v3.0 6 votes vote down vote up
constructor(
    private afs: AngularFirestore,
    private route: ActivatedRoute,
    private navCtrl: NavController,
    private http: HttpClient,
    private menuController: MenuController,
    public alertController: AlertController,
    public translate: TranslateService,
    private utils: UtilsService,
    private configurationService: ConfigurationService,
    private toast: ToastController,
    public modalController: ModalController) {
  }
Example #8
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 #9
Source File: search-display.page.ts    From Uber-ServeMe-System with MIT License 5 votes vote down vote up
constructor(
    public modalCtrl: ModalController,
    public router: Router,
    public firestore: AngularFirestore
  ) { }
Example #10
Source File: photo-viewer.component.ts    From mylog14 with GNU General Public License v3.0 5 votes vote down vote up
constructor(
    private readonly modalCtrl: ModalController,
    private readonly dataStore: DataStoreService,
    private readonly loadingService: LoadingService,
    private readonly locationApiService: LocationApiService,
    private readonly popoverService: PopoverService,
    private readonly translateService: TranslateService,
  ) { }
Example #11
Source File: did-publishing.component.ts    From Elastos.Essentials.App with MIT License 5 votes vote down vote up
constructor(
    public theme: GlobalThemeService,
    private zone: NgZone,
    private modalCtrl: ModalController,
    private route: ActivatedRoute
  ) { }