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
I knew from the BEM docs that block could have modifier. Also I read that block could have element. So I supposed modified block with element had a place to be.
About my example. I have Link component for a common link. In addition, I want special Link component for a link with more clickable zone around. I named it Link_wrap and add element <u> with classes Link-U Link_wrap-U for underlined words.
Please, help me get the class of element that changes its style depending on its block.
Of course I can use
cn('Block_modName')('Elem')
but the meaning of the package is lost.The text was updated successfully, but these errors were encountered: