You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 29, 2019. It is now read-only.
I use the accordion with dynamic class names. I'm using angular bindings for this. As in current version this is not supported via ng-class and the panel-class attribute is only evaluated once, I have to use the standard class attribute. So I do sth like this:
Where {{customClass}} will be replaced by "myCustomClass". When the is-open attribute is set by default and I navigate to the page with the accordion, the class attribute evaluates to:
But "panel-open" will only be applied if I close and reopen the affected group. You may look this up here and check the class value via debugger (I've just added a constant class="testClass" in my example as the result is the same):
I use the accordion with dynamic class names. I'm using angular bindings for this. As in current version this is not supported via
ng-class
and thepanel-class
attribute is only evaluated once, I have to use the standardclass
attribute. So I do sth like this:<accordion-group class={{customClass}} is-open="true"></accordion-group>
Where
{{customClass}}
will be replaced by"myCustomClass"
. When theis-open
attribute is set by default and I navigate to the page with the accordion, the class attribute evaluates to:<accordion-group class="myCustomClass panel panel-default panel panel-default" is-open="true"></accordion-group>
But
"panel-open"
will only be applied if I close and reopen the affected group. You may look this up here and check the class value via debugger (I've just added a constantclass="testClass"
in my example as the result is the same):http://plnkr.co/edit/cOJDzM2lYdVkA9TWmBDP?p=preview
The text was updated successfully, but these errors were encountered: