All Downloads are FREE. Search and download functionalities are using the official Maven repository.

widgets.pbTabsContainer.help.html Maven / Gradle / Ivy

There is a newer version: 1.0.9
Show newest version

    
        

A TabsContainer is a container that has multiple panes, but shows only one pane at a time.

Using the Vertical Display property, it is possible to display tabs vertically or horizontally.

To Display the tab vertically and on the left of the content, you can read this how to learn more about customization

The Display Type property allows you to customize the tabs style ('tabs' or 'pills').

The tab's properties allows you to customize default display and behaviour of tabs based on data and/or JS expressions.

  • Title: can be calculated dynamically to display and render html.
  • Selected (Default: first tab is selected): Whether the tab is selected or not
  • hidden (Default: no): Whether tab is hidden or not.
  • disabled (Default: no): Whether tab is clickable and can be activated.
  • cssClasses (Default: none): Add css classes on tab. This css class will be attached to tab-heading html element.

  • Example of a tab title displaying a badge:

    1. Add the following class in style.css asset.
    2. .badgeCircle {
          width: 30px;
          border-radius: 50%;
          text-align: center;
          font-size: 12px;
          border: 1px solid #666;
          background-color: green;
          color: white;
          display:inline;
      }
      
    3. In tab title properties add the following value
    4. <span class="badgeCircle"<10>/span> Users
    5. Click on preview to show the result




    © 2015 - 2024 Weber Informatics LLC | Privacy Policy