Re: [polymer-dev] Problems with Dom-repeat in Polymer 3.0

2019-04-29 Thread 'Kevin Schaaf' via Polymer
Your best bet is always to try to make a reduced reproduction so that
others can see the context of your problem.  Try cloning this JSBin and
demonstrate your issue: https://jsbin.com/wuxejiz/edit?html,output

On Mon, Apr 29, 2019 at 4:03 AM Bart Dikmans  wrote:

> Dear Sir/Madam,
>
> I've recently started developing a web app using Polymer and most
> functions have been very easy to use however I've recently found an issue
> with the  element where I've been completely unable to use it.
> I've added the import correctly to the relevant files but even then when
> calling the element it does correctly reference it resulting in no visible
> HTML changes.
>
> Is there perhaps anybody that you know whom I can ask for any help in
> regards to this matter? Searching StackOverflow and different webpages so
> far have yielded no fruitful results.
>
> Kind regards,
>
> Bart Dikmans
>
> 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 polymer-dev+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/polymer-dev/CAMjxuZO_eUYpEq7yo8ND-_zCKdsZJNskKJtv-DYNoh%2Bv5sOOHQ%40mail.gmail.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

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 polymer-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/CAHW5_6xyYKDUGHO8z_b9MUV9rmAnio7SsH5n%3Dbzbm7iu12ni%2BA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [polymer-dev] Re: Allow components to use global CSS

2018-03-09 Thread 'Kevin Schaaf' via Polymer
> It is impossible to see a style outside of a web component? If the answer
is yes, then how does one keep from duplicating styles and attempt some
reuse?

Browsers implementing Shadow DOM have optimizations to ensure that
duplicating the same  tag in the shadow DOM of element instances is
low-cost.  If your question is practically, "how do I share styles between
two elements using lit-html?", the pattern we are leaning towards are
putting common styles in modules that e.g. export const sharedStyles =
html`