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
@arjun-ltse, the API for the modifiers has been changed. So, if you want to apply a modifier to the element, you should do it when you build the element:
If I create an element on a block:
It seems that element is "not a function" when I try:
I get
Uncaught TypeError: blockElement is not a function
It seems this worked fine in previous versions of
bem-cn
. Did something major change?The text was updated successfully, but these errors were encountered: