當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。