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 was archived by the owner on Apr 12, 2024. It is now read-only.
Hi,
I tried to inject extra className in link function using addClass method, i found a problem is when my directive has expression in class, the injection just ignore and no error message.
eg
directive with class="class-{{ id }}"
and in directive link function, i tried manually addClass('extraClassNam'), this extraClassName doesn't get injected into Dom element after link.
I noticed that, in link function phase, expression didn't get eval compare to previous version.
thanks,
Aaron
The text was updated successfully, but these errors were encountered:
Continue my investigating...
This is happening in all attributes which i would believe is mechanism change.
Tried any attributes with expression in your template, and add attr('my-attribute', 'xxxx'), it wouldn't work unless i remove expression {{}} in the templates. =(
Hi,
I tried to inject extra className in link function using addClass method, i found a problem is when my directive has expression in class, the injection just ignore and no error message.
eg
directive with class="class-{{ id }}"
and in directive link function, i tried manually addClass('extraClassNam'), this extraClassName doesn't get injected into Dom element after link.
I noticed that, in link function phase, expression didn't get eval compare to previous version.
thanks,
Aaron
The text was updated successfully, but these errors were encountered: