Accordion tab (styles problem)

I have a question about Accordion component. I am trying to set a style for TAB in accordion, but without a success.

tab.setStyle(“mystyle”)

Method setStyle doesn’t work property or I may say it doesn’t work at all. “mystyle” class is not appearing in html. Maybe someone can help me to solve this problem.