Without inheritance, I think i would expect to have some sort of 
embedding/mixins for elements. For example, I wouldn't really mind putting 
core-selector into the element's HTML if I didn't have to copy over all of 
its attributes and functions into the parent element. Actually, that would 
be really nice, since it wouldn't restrict core selector to the top level 
element (for example if you wanted selection for table rows, but you have a 
table header). 

In Douglas's case where he uses only the JS and not really the HTML, maybe 
it would be helpful to have the script in a separate js file instead of in 
the HTML?

On Friday, March 13, 2015 at 10:19:40 AM UTC-7, Robert Bjarnason wrote:
>
> My apps also use inheritance, it will not be difficult to re-factor. The 
> question for me, if added, is if inheritance is a performance issue either 
> with native or polyfilled components?
>
> On Friday, March 13, 2015 at 2:25:33 PM UTC, Petr Žďárský wrote:
>>
>> It will be really hard for me to update to Polymer 0.8 because I have a 
>> lot of inheritance. I made my custom ajax element that is base on core-ajax 
>> with some aditional features and settings, another my favourite inherited 
>> element is my image from core-image.
>>
>> Vote up for inheritance in 0.8 !! 
>>
>> Dne čtvrtek 12. března 2015 21:59:47 UTC+1 Helen Wu napsal(a):
>>>
>>> I was wondering what the reasons behind not having custom element 
>>> inheritance were. I know that it's good to prefer composition over 
>>> inheritance, but there are also places where the use of inheritance is 
>>> pretty obvious.
>>>
>>> Is it possible to share the plan to update the current polymer elements 
>>> to use composition over inheritance (for example the elements that use 
>>> core-selector would be a good example), so that we have an idea of what 
>>> changes to make in our 0.5 versions to prepare for the 0.8 release?
>>>
>>> Thanks!
>>>
>>

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/66700736-d8ce-48ab-ab31-49f50cf3be11%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to