How would I go about extending an element that has a slot in its template, and stamp my child element’s dom in that slot?
I’m trying to override the child’s template method (like that) but so far I was unsuccessful.
What I’m trying to do is extending a paper-dropdown-menu to always have a certain dropdown content, while keeping all of paper-dropdown-menu input features (validation, etc.) without wiring all by hand with a "wrapper" component.
Found a way! It's just replacing the parent's slot node with the child's node you want to stamp instead, here's an example: