@ionic/angular#NavParams TypeScript Examples

The following examples show how to use @ionic/angular#NavParams. 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: pencil.component.ts    From WiLearning with GNU Affero General Public License v3.0 6 votes vote down vote up
constructor(
    private drawtool: DrawtoolService,
    private navparams: NavParams,
    private logger: LoggerService,
    private eventbus: EventbusService,
  ) {
    this.prop = this.navparams.data.props;
    this.logger.debug(this.prop);
  }
Example #2
Source File: profileentrypicker.ts    From Elastos.Essentials.App with MIT License 6 votes vote down vote up
constructor(
    private basicCredentialService: BasicCredentialsService,
    private modalCtrl: ModalController,
    public navParams: NavParams,
    public theme: GlobalThemeService,
    public events: Events,

  ) {
    // List of keys we don't want to show (probably already existing in the profile)
    let filterOutKeys: string[] = navParams.get("filterOut");

    this.availableItems = this.basicCredentialService.getBasicCredentialEntryList().filter((item) => {
      return !filterOutKeys.includes(item.key) && item.key !== 'avatar';
    });
  }
Example #3
Source File: showqrcode.component.ts    From Elastos.Essentials.App with MIT License 6 votes vote down vote up
constructor(
    public modalCtrl: ModalController,
    public native: Native,
    navParams: NavParams,
    public theme: GlobalThemeService,
    private translate: TranslateService,
    private globalIntentService: GlobalIntentService
  ) {
    this.didString = navParams.get("didstring");
    this.qrCodeString = navParams.get("qrcodestring");
  }
Example #4
Source File: options.component.ts    From Elastos.Essentials.App with MIT License 6 votes vote down vote up
constructor(
    private popover: PopoverController,
    private navParams: NavParams,
    public translate: TranslateService,
    public theme: GlobalThemeService,
    public profileService: ProfileService,
    public didService: DIDService,
    private authService: AuthService,
    private native: Native
  ) { }
Example #5
Source File: network-chooser.component.ts    From Elastos.Essentials.App with MIT License 6 votes vote down vote up
constructor(
    private navParams: NavParams,
    private networkService: WalletNetworkService,
    public uiService: UiService,
    public translate: TranslateService,
    public theme: GlobalThemeService,
    public currencyService: CurrencyService,
    private modalCtrl: ModalController,
    private native: Native
  ) {
  }
Example #6
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 #7
Source File: token-chooser.component.ts    From Elastos.Essentials.App with MIT License 6 votes vote down vote up
constructor(
    private navParams: NavParams,
    private networkService: WalletNetworkService,
    private walletService: WalletService,
    public translate: TranslateService,
    public theme: GlobalThemeService,
    public uiService: UiService,
    private modalCtrl: ModalController
  ) {
  }
Example #8
Source File: options.component.ts    From Elastos.Essentials.App with MIT License 6 votes vote down vote up
constructor(
    public friendsService: FriendsService,
    public didService: DidService,
    private popover: PopoverController,
    private navParams: NavParams,
    public translate: TranslateService,
    public theme: GlobalThemeService,
    public events: Events,
  ) { }
Example #9
Source File: transfer-wallet-chooser.component.ts    From Elastos.Essentials.App with MIT License 6 votes vote down vote up
constructor(
    private navParams: NavParams,
    public walletManager: WalletService,
    public uiService: UiService,
    public translate: TranslateService,
    public theme: GlobalThemeService,
    public currencyService: CurrencyService,
    private modalCtrl: ModalController
  ) {
  }
Example #10
Source File: wallet-chooser.component.ts    From Elastos.Essentials.App with MIT License 6 votes vote down vote up
constructor(
    private navParams: NavParams,
    private walletService: WalletService,
    public uiService: UiService,
    public translate: TranslateService,
    public theme: GlobalThemeService,
    public currencyService: CurrencyService,
    private modalCtrl: ModalController,
    public networkService: WalletNetworkService,
    private native: Native
  ) {
  }
Example #11
Source File: tx-confirm.component.ts    From Elastos.Essentials.App with MIT License 5 votes vote down vote up
constructor(
    private navParams: NavParams,
    public theme: GlobalThemeService,
    private translate: TranslateService,
    private native: Native
  ) { }
Example #12
Source File: options.component.ts    From Elastos.Essentials.App with MIT License 5 votes vote down vote up
constructor(
    private navParams: NavParams,
    public theme: GlobalThemeService,
    public translate: TranslateService,
    private popoverCtrl: PopoverController,
  ) { }
Example #13
Source File: warning.component.ts    From Elastos.Essentials.App with MIT License 5 votes vote down vote up
constructor(
    public theme: GlobalThemeService,
    private popoverCtrl: PopoverController,
    private navParams: NavParams,
    public translate: TranslateService
  ) { }
Example #14
Source File: ledger-sign.component.ts    From Elastos.Essentials.App with MIT License 5 votes vote down vote up
constructor(
    private navParams: NavParams,
    public translate: TranslateService,
    public theme: GlobalThemeService,
    private modalCtrl: ModalController,
  ) {
  }
Example #15
Source File: ledger-getaddress.component.ts    From Elastos.Essentials.App with MIT License 5 votes vote down vote up
constructor(
    private navParams: NavParams,
    public translate: TranslateService,
    public theme: GlobalThemeService,
    private modalCtrl: ModalController,
  ) {
  }
Example #16
Source File: support-dialog.page.ts    From fyle-mobile-app with MIT License 5 votes vote down vote up
constructor(
    private modalController: ModalController,
    private navParams: NavParams,
    private trackingService: TrackingService
  ) {}
Example #17
Source File: help.component.ts    From Elastos.Essentials.App with MIT License 5 votes vote down vote up
constructor(
    private navParams: NavParams,
    public translate: TranslateService
  ) { }
Example #18
Source File: schedule-filter.ts    From actions-test with Apache License 2.0 5 votes vote down vote up
constructor(
    public confData: ConferenceData,
    private config: Config,
    public modalCtrl: ModalController,
    public navParams: NavParams
  ) { }
Example #19
Source File: milestone-options.component.ts    From Elastos.Essentials.App with MIT License 5 votes vote down vote up
constructor(
        public theme: GlobalThemeService,
        private popoverCtrl: PopoverController,
        private navParams: NavParams,
        private crOperations: CROperationsService,
    ) { }
Example #20
Source File: warning.component.ts    From Elastos.Essentials.App with MIT License 5 votes vote down vote up
constructor(
    public theme: GlobalThemeService,
    public didService: DIDService,
    private popover: PopoverController,
    private navParams: NavParams,
    public translate: TranslateService,
  ) { }
Example #21
Source File: tips.page.ts    From Elastos.Essentials.App with MIT License 5 votes vote down vote up
constructor(
    private navParams: NavParams,
    public theme: GlobalThemeService,
    private modalController: ModalController,
    private translate: TranslateService,
    private tipsService: TipsService
  ) { }
Example #22
Source File: wallet-address-chooser.component.ts    From Elastos.Essentials.App with MIT License 5 votes vote down vote up
constructor(
    public theme: GlobalThemeService,
    private popoverCtrl: PopoverController,
    private navParams: NavParams,
    private translate: TranslateService,
    private globalNative: GlobalNativeService
  ) { }
Example #23
Source File: service-filter.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,
    public activatedRoute: ActivatedRoute,
    public navParams: NavParams,
  ) { 
  }
Example #24
Source File: publish-did.component.ts    From Elastos.Essentials.App with MIT License 5 votes vote down vote up
constructor(
    public theme: GlobalThemeService,
    public didService: DIDService,
    private popover: PopoverController,
    private navParams: NavParams,
    public translate: TranslateService,
  ) { }
Example #25
Source File: warning.component.ts    From Elastos.Essentials.App with MIT License 5 votes vote down vote up
constructor(
    public theme: GlobalThemeService,
    private navParams: NavParams,
    private popoverCtrl: PopoverController,
    private events: Events,
    public translate: TranslateService
  ) { }
Example #26
Source File: options.component.ts    From Elastos.Essentials.App with MIT License 5 votes vote down vote up
constructor(
    private navParams: NavParams,
    public theme: GlobalThemeService,
    public translate: TranslateService,
    private popoverCtrl: PopoverController,
    private events: Events
  ) { }
Example #27
Source File: help.component.ts    From Elastos.Essentials.App with MIT License 5 votes vote down vote up
constructor(private navParams: NavParams) { }
Example #28
Source File: delete.component.ts    From Elastos.Essentials.App with MIT License 5 votes vote down vote up
constructor(
    private navParams: NavParams,
    private popover: PopoverController,
    public dAppService: DAppService,
    public translate: TranslateService
  ) { }
Example #29
Source File: picture.component.ts    From Elastos.Essentials.App with MIT License 5 votes vote down vote up
constructor(
    public appService: AppService,
    public theme: GlobalThemeService,
    private navParams: NavParams,
    public modalCtrl: ModalController,
    private zone: NgZone,
  ) {
  }