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
Being able to specify a css class for the root element of a child component is very useful. We removed it going from owl 1 to owl 2 because it could not really be implemented properly in a generic way, and also, because it couples the implementation of the component with its use. However, i am starting to think that all these class, root or className props are not really much better. What if we allow adding classes to the root element, and it throws error if there is a branching?
<div>
<Childt-class="hello"/>
</div>
Even if we decide that the given class is purely static, it could be useful.
The text was updated successfully, but these errors were encountered:
ged-odoo
changed the title
add t-class directive
add t-class directive?
Oct 22, 2023
Being able to specify a css class for the root element of a child component is very useful. We removed it going from owl 1 to owl 2 because it could not really be implemented properly in a generic way, and also, because it couples the implementation of the component with its use. However, i am starting to think that all these
class
,root
orclassName
props are not really much better. What if we allow adding classes to the root element, and it throws error if there is a branching?Even if we decide that the given class is purely static, it could be useful.
The text was updated successfully, but these errors were encountered: