Skip to content

ionTabs getSelected() does not exist #17068

Closed

Description

@TylerAHolden

Feature Request

Ionic version:

[x] 4.x

Describe the Feature Request

ionTabs getSelected() does not exist like the docs say it does

Describe Preferred Solution

add getSelected() or remove from docs

Describe Alternatives

Related Code

Additional Context

see #16933

Activity

  1. manucorporat commented on Jan 11, 2019

    @manucorporat
    Contributor

    where does the docs mention getSelected()?

  2. TylerAHolden commented on Jan 11, 2019

    @TylerAHolden
    Author

    on the ion-tabs documentation page...

  3. paulstelzer commented on Jan 12, 2019

    @paulstelzer
    Contributor

    The reason is that there is a difference between @ionic/core and @ionic/angular (https://github.com/ionic-team/ionic/blob/master/angular/src/directives/navigation/ion-tabs.ts). The Angular version has onPageSelected and select. @ionic/core offers getSelected, getTab and select.

  4. added
    package: core
    package: angular
    on Jan 12, 2019
  5. manucorporat commented on Jan 13, 2019

    @manucorporat
    Contributor

    onPageSelected is private, it's only public because AOT

  6. added a commit that references this issue on Jan 13, 2019
    42c88dd
  7. added a commit that references this issue on Jan 14, 2019
    3c801db
  8. ionitron-bot commented on Feb 13, 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.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    package: angularpackage: core

    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