Questions tagged [polymer]

Polymer is a library for web development, built on top of Web Components, and designed to leverage the evolving web platform on modern browsers.

Filter by
Sorted by
Tagged with
1
vote
1answer
47 views

Check if a web element has a specific property and apply changes to the DOM according to the property's existence

I wrote this Javascript snippet for a Polymer fronted, it works without issues. The only thing that it accomplishes is changing an icon's orientation whenever a user is clicking on any expandable-...
4
votes
1answer
176 views

Idiomatic use of computed properties in Polymer 2

I'm trying to wrap my head around how computed observables / properties in Polymer 2 work and should be used. I've created a repro analogous to my real code that zooms in on the thing I'd like to see ...
1
vote
0answers
582 views

A (possibly) great Polymer autocomplete widget

I have just finished writing this: https://github.com/mercmobily/hot-autocomplete This is the source at the time of me writing this post: https://github.com/mercmobily/hot-autocomplete/blob/...
3
votes
0answers
52 views

Web component design, attribute or content HTML?

Which one of these web components is designed better? Option 1 contains an a tag within the custom element. ...
1
vote
1answer
2k views

How can I organize polymer-element structure in order to embrace the Polymer way of developing custom elements?

My goal has been to learn Polymer so I started developing a complex combo-box element. I did my development on Plunker. Here is link to my plunk. I'm happy with ...