Skip to content

Lazy loading tabs #16619

Closed
Closed

Description

@manucorporat

Issue to keep track of the process

Activity

  1. added
    type: feature request
    on Dec 6, 2018
  2. acprawr commented on Dec 7, 2018

    @acprawr

    I think this issue is related too #15961

  3. katzenjunge commented on Dec 13, 2018

    @katzenjunge

    This is still an issue as of @ionic/angular 4.0.0-beta.17, any updates or why has this issue been closed?

  4. kensodemann commented on Dec 13, 2018

    @kensodemann
    Contributor

    Closed as part of a merged PR, implying it will be fixed in the next release.

  5. kensodemann commented on Dec 14, 2018

    @kensodemann
    Contributor

    In beta.18, yes.

  6. katzenjunge commented on Dec 14, 2018

    @katzenjunge

    Thanks for the info @kensodemann, looking forward to the release of beta 18! You guys are doing a great job. :)

  7. kensodemann commented on Dec 14, 2018

    @kensodemann
    Contributor

    Beta.18 has been released: https://www.npmjs.com/package/@ionic/angular

    I believe there is a PR for the starter that is yet to be merged to make it use beta.18, but you can manually apply it to your tabs based project if you wish. Just update and then follow the directions in the changelog (and make sure you have the lazy loading implemented properly as it applies to not importing your modules elsewhere).

    Or you can wait for the starter...

  8. jing-zhou commented on Dec 17, 2018

    @jing-zhou

    can you please provide more information on 'custom tab-bar' under Beta.18 lazy loading context...
    I have implemented a customized tab bar as following, I am not sure how I might be able to adapt to Beta.18 break changes

    <ion-tabs>
    ... ...
      <ion-tab tab="more">
        <ion-router-outlet name="more"></ion-router-outlet>
      </ion-tab>
      
      <ion-tab-bar slot="bottom">
       ... ...
        <ion-tab-button (click)="clickMore($event)">
          <ion-icon name="apps"></ion-icon>
          <ion-label>{{'tabsmore' | translate}}</ion-label>
        </ion-tab-button>
      </ion-tab-bar>
    </ion-tabs>
    
    

    ...

    export class TabsPage {
      badges: number;
      constructor(private popoverCtrl: PopoverController) { }
      clickMore(ev: any) {
        this.popoverCtrl.create({
          component: TabsMorePage,
          event: ev,
          translucent: true,
          componentProps: { popover: this.popoverCtrl }
        })
          .then(popover => popover.present());
      }
    }
    
  9. joel-daros commented on Dec 17, 2018

    @joel-daros

    can you please provide more information on 'custom tab-bar' under Beta.18 lazy loading context...
    I have implemented a customized tab bar as following, I am not sure how I might be able to adapt to Beta.18 break changes

    Check the beta-18 breaking changes in the release notes: https://github.com/ionic-team/ionic/blob/master/CHANGELOG.md#breaking-changes-1

  10. jing-zhou commented on Dec 17, 2018

    @jing-zhou

    thanks for the tip. unfortunately, the description in the beta.18 release note had not provided enough detailes on 'customization of tab bar'.
    it would be greate if the ionic team could give a detailed description on tabs similiar to that in Beta.15 release note

  11. ionitron-bot commented on Jan 16, 2019

    @ionitron-bot

    Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.

  12. locked and limited conversation to collaborators on Jan 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

type: feature request

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions