title: Primeng - how to use styleClass?
body: <p>I want to use the <code>styleClass</code> property of the <code>Togglebutton</code> component. As described in <a href="https://stackoverflow.com/a/45499931/3063719">another post</a>, I thought it is straight forward by using:</p>
  
  <pre><code>styleClass="test"
  </code></pre>
  
  <p>In my css-file I then set some attributes, like </p>
  
  <pre><code>.test { background: red; }
  </code></pre>
  
  <p>But this does not work. Working with <code>style</code> is perfectly clear by using <code>[style]="{'background':'red'}"</code> No problem with that. But <code>styleClass</code> does not work. <a href="https://www.primefaces.org/primeng/#/togglebutton" rel="noreferrer">Here is the component</a>. Any idea how to use <code>styleClass</code>?</p>