ionic-team / ionic-team/ionic-framework

feat(IonTabButton): publicly available el

Open
#30,204 0 comments 0 reactions 0 assignees View on GitHub
triage
Dominant language
TypeScript
Stars
52.7k
Forks
13.3k
Avg merge
1d 15h
Merged PRs (30d)
51

Description

### Prerequisites

- [x] I have read the [Contributing Guidelines](https://github.com/ionic-team/ionic-framework/blob/main/docs/CONTRIBUTING.md#creating-an-issue).
- [x] I agree to follow the [Code of Conduct](https://ionicframework.com/code-of-conduct).
- [x] I have searched for [existing issues](https://github.com/ionic-team/ionic-framework/issues) that already include this feature request, without success.

### Describe the Feature Request

I would like `el` to be publicly available

### Describe the Use Case

To add this little blue bar, and to animate it right and left I need to get the active tab element reference, then to extract his `el`, find his position and them with a bit of math move that little bar :)

https://github.com/user-attachments/assets/52ee9af0-ddc3-43ac-a21b-6c7c5fca1489

### Describe Preferred Solution

Make the `el` being publicly available

### Describe Alternatives

_No response_

### Related Code

_No response_

### Additional Information

I'd be more than happy to do a PR if this issue gets approved

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.