当前位置: 首页>>代码示例>>TypeScript>>正文


TypeScript ionic-angular.NavParams类代码示例

本文整理汇总了TypeScript中ionic-angular.NavParams的典型用法代码示例。如果您正苦于以下问题:TypeScript NavParams类的具体用法?TypeScript NavParams怎么用?TypeScript NavParams使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


在下文中一共展示了NavParams类的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的TypeScript代码示例。

示例1: constructor

	constructor(public getData: Data, public nav: NavController, private navParams: NavParams, public sqlite: SQLiteService){
		this.nav = nav;
    this.testId = this.navParams.get('testId');
	}
开发者ID:alexandrastoica,项目名称:ionic2-dementia-test-app,代码行数:4,代码来源:sections.ts

示例2: constructor

 constructor(private nav: NavController, public navParams: NavParams, public viewCtrl: ViewController) {
   this.userinfo = this.navParams.get('user');
   this.data = this.navParams.get('data')
 }
开发者ID:Khyunwook,项目名称:soombarcode-client,代码行数:4,代码来源:userprofile.ts

示例3: constructor

 constructor(public params: NavParams, public viewCtrl: ViewController) {
   this.guest = this.params.get('guest');  
   this.loaded = false;
 }
开发者ID:eongoo,项目名称:leader,代码行数:4,代码来源:avatar-preview.ts

示例4: constructor

 constructor(private nav: NavController, navParams: NavParams) {
   this.product = navParams.get('product');
   console.log(this.product);
 }
开发者ID:SofiaReis,项目名称:drag-shop,代码行数:4,代码来源:product-page.ts

示例5: constructor

 constructor(private viewCtrl: ViewController, params: NavParams, translate: TranslateService) {
     this.title = params.get('title') || translate.instant('core.imageviewer');
     this.image = params.get('image');
     this.component = params.get('component');
     this.componentId = params.get('componentId');
 }
开发者ID:SATS-Seminary,项目名称:moodlemobile2,代码行数:6,代码来源:image.ts

示例6: constructor

 constructor(private nav: NavController, private alertController: AlertController,private params:NavParams) {
   this.nav = nav;
   this.senha1 = "";
   this.senha2 = "";
   this.id = params.get("parametro");
 }
开发者ID:cleybsoncardoso,项目名称:SAEinfo,代码行数:6,代码来源:alterar-senha.ts

示例7: constructor

 constructor(public viewCtrl: ViewController, params: NavParams) {
   this.isFavorite = params.get('isFavorite');
 }
开发者ID:elylucas,项目名称:denverdevdayapp,代码行数:3,代码来源:more-menu.ts

示例8: constructor

 constructor(navParams: NavParams, courseHelper: CoreCourseHelperProvider, private viewCtrl: ViewController) {
     this.sections = navParams.get('sections');
     this.selected = navParams.get('selected');
 }
开发者ID:jleyva,项目名称:moodlemobile2,代码行数:4,代码来源:section-selector.ts

示例9: constructor

 constructor(navParams: NavParams) {
     this.module = navParams.get('module') || {};
     this.courseId = navParams.get('courseId');
     this.selectedGroup = navParams.get('group') || 0;
     this.title = this.module.name;
 }
开发者ID:SATS-Seminary,项目名称:moodlemobile2,代码行数:6,代码来源:index.ts

示例10: ionViewDidLoad

 ionViewDidLoad() {
   this.postId = this.navParams.get('postId');
   console.log(this.postId);
   this.post = this.data.getPostById(this.postId);
 }
开发者ID:brenopolanski,项目名称:labs,代码行数:5,代码来源:post-detail.ts


注:本文中的ionic-angular.NavParams类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。