Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(TabStrip): add dynamic tabs docs #2889

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

Tsvetomir-Hr
Copy link
Contributor

@Tsvetomir-Hr Tsvetomir-Hr self-assigned this Apr 2, 2025
@Tsvetomir-Hr Tsvetomir-Hr requested review from a team as code owners April 2, 2025 14:00

# Dynamic Tabs in TabStrip

The Telerik TabStrip component now supports managing dynamic tabs more effectively with the introduction of the `ActiveTabId` parameter and the new [`ActiveTabIdChanged`](slug:tabstrip-events#activetabidchanged) event. These features allow users to specify or track the active tab using its unique ID, making it easier to work with dynamic tab scenarios.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Try writing text that isn't time-sensitive ("now supports", "the new ActiveTabIdChanged event" ). Reading this paragraph in two years would feel awkward as these statements will be outdated.

Suggested change
The Telerik TabStrip component now supports managing dynamic tabs more effectively with the introduction of the `ActiveTabId` parameter and the new [`ActiveTabIdChanged`](slug:tabstrip-events#activetabidchanged) event. These features allow users to specify or track the active tab using its unique ID, making it easier to work with dynamic tab scenarios.
The Telerik TabStrip component supports effective management of dynamic tabs through the `ActiveTabId` parameter and the [`ActiveTabIdChanged`](slug:tabstrip-events#activetabidchanged) event. These features allow users to specify or track the active tab using its unique ID, making it easier to work with dynamic tab scenarios.


The `ActiveTabId` parameter allows you to manage the active tab by its ID. It supports two-way binding, allowing seamless updates between the component and the application state.

### Configuration Example
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When possible, avoid using a single heading of a given level. In this case, this is the only H3 heading, and you can avoid using it by adding a caption instead (see the next comment).

Suggested change
### Configuration Example


### Configuration Example

The following example demonstrates how to use the `ActiveTabId` parameter to manage dynamic tabs:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
The following example demonstrates how to use the `ActiveTabId` parameter to manage dynamic tabs:
>caption Using the `ActiveTabId` parameter to manage dynamic tabs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants