Skip to content

Tab component documentation lacks of state examples #5761

Description

@abdullahtellioglu

Tabs component has a section called States which does not have a good example of how a tab is selected

This is the example from the documentation.

<vaadin-tabs>
  <vaadin-tab>Selected</vaadin-tab>
  <vaadin-tab>Unselected</vaadin-tab>
  <vaadin-tab disabled>Disabled</vaadin-tab>
</vaadin-tabs>

It is not clear how to make a tab selected by looking at any examples in the page. It is not clear how to set a tab selected <vaadin-tabs selected=${1}> or <vaadin-tab ?selected=${true}>

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions