Master.addClassToTitles

Syntax

addClassToTitles (className);

Parameters

className. Name of additional style class.

Description

The addClassToTitles method sets additional style class to headers of all master tabs except the first one.

Example

To execute the example, the page must contain the Master component named master (see Master Constructor). Set an additional style class for all wizard tabs except the first one.

In the HEAD tag add style class:

<style>

    .titleStyle

    {

        background-color: #7EAF44;

        padding: 10px 10px 10px 10px;

    }

</style>

Apply the style to titles of all wizard tabs except the first tab:

master.addClassToTitles("titleStyle");

 

After executing the example the component looks as follows:

See also:

Master