Open benjaminapetersen opened 9 years ago
It seems more reasonable to let the user style and maintain the light DOM as he or she sees fit rather than adding more features to what should be a generic element. I would actually go the other direction and say that the <template if="{{heading}}">
might be better off being removed from paper-dialog
to stress that this is just a generic container that sits on top of other content. The contents are up to the user.
A subheading attribute would be interesting, but I think it may actually be even better to use a content-selector around a div or some dom element with a class to put whatever HTML provided as the heading. Something to the effect of:
This seems similar to what has recently been done with paper-button, and how core-header-panel works with the "core-header" class, keeping content in the light dom.
Throwing it out there to chew on.