addHeaderClass(className: String);
className. Name of the added css class.
The addHeaderClass method adds a CSS class to DOM node of tab.
To execute the example, the page must contain the NavigationBar component named navigationBar (see Example of Creating the NavigationBar Component). Add a new class to DOM node of the first tab:
// Add a new class to DOM node of the first tab navigationBar.getLayoutItems()[0].addHeaderClass("New Class");
See also: