philtoms / mithril.elements

Adds composable custom element types to Mithril
MIT License
42 stars 4 forks source link

compiled template attributes not merged into element #3

Closed philtoms closed 9 years ago

philtoms commented 9 years ago

Attributes are merged - outer onto inner to preserve cascade precedence. When a component view receives a compiled inner template, the attributes on this object are ignored in the final output.

(picked up by @pelonpelon and illustrated here by explicitly adding className.