Questions tagged [polymer-elements]

The iron- paper- gold- neon- platinum- molecules-elements and Google Web Components

For questions about

  • iron-
  • paper-
  • gold-
  • neon-
  • platinum-
  • molecules-elements and
  • Google Web Components

listed in https://elements.polymer-project.org
(and wrapped for Dart in https://pub.dartlang.org/packages/polymer_elements)

41 questions
4
votes
1 answer

Why isn't iron-list updated when the list is hidden?

I'm trying to use a hidden , but I need to understand why it's rendering doesn't update. This is the related issue: https://github.com/PolymerElements/iron-list/issues/263 This is the code:…
3
votes
0 answers

How can I style every child item with respect to the main parent in an iron-list?

I have an iron-list with a simple
inside. When the iron-list iterates over the array of data I want each instance of
to be styled with respect to the top of the main iron-list but no matter what I try (combinations of absolute and…
TheBen
  • 3,410
  • 3
  • 26
  • 51
3
votes
0 answers

Do I have to force notify change when firebase-query data are not directly exposed (in deeper level of JSON)?

I have some data in a 3-level structure in firebase. I can get the data and extract what I want easily using firebase-query element of Polymerfire. But if I change data in the third layer, nothing happens when I expect my iron-list to reflect that…
3
votes
1 answer

Force dom-repeat to update computed bindings in render: form resets

I am trying to find a way to reset a form inside a dialog back to some default data after the dialog is closed/abandoned. Say collaborators is a list from the server, each with an associated privilege level. My form provides a way to edit their…
2
votes
2 answers

Polymer lit-element in polymer 1 app...possible?

New to Polymer BTW. I have polymer 1 app running. Wondering if I can use Polymer lit-elements in Polymer 1? Trying to achieve: Ask is to embed another module which is written in JavaScript by another team in my company to my polymer1 app. Is there…
S G
  • 23
  • 2
2
votes
1 answer

paper-dropdown-menu / paper-listbox : how to get the value in the request

I have paper-listbox elemnt in a paper-dropdown-menu, values of items are different from labels. Here is the example
PPCM
  • 157
  • 11
2
votes
1 answer

Polymer: update DOM when changes file json

I am making a modal to add data to a json file and display it in the DOM. The data is saved to the file, but the DOM is not updated. I'm using iron-ajax.
2
votes
1 answer

Can't get polymer elements working in GWT

I can't for the life of me get vaadin polymer elements working in a GWT project. I've got a new addition of Java EE Eclipse Mars, I'm using Gwt 2.8.0 SNAPSHOT beta, with updated Jars from Jan 11 from sonatype, I've got the -generateJsInteropExports…
john
  • 775
  • 3
  • 15
  • 31
1
vote
0 answers

Why does Flexbox break PolymerElements/paper-tabs?

When trying to style paper-tabs alongside iron-pages on a webpage within a div, using Flexbox, specifically display: flex, the tabs disappear. If I remove display: flex, they re-appear. Example of HTML & CSS where tabs show:
Guybrush Threepwood
  • 1,096
  • 2
  • 10
  • 18
1
vote
1 answer

Using addthis or external javascript to update div in polymer element shadow dom

I am trying to add some "addthis" buttons to an element in a polymer 2.0 app. I am able to import the "addthis" javascript but it seams the script itself needs to update a "div" that is part of a child element. The addthis script is looking for…
dnvn
  • 11
  • 4
1
vote
0 answers

Why doesn't my iron-list items reset when I have a div (still inside the list) on top of main elements?

I have an iron-list with bunch of objects that I'd like them to reposition upon occurring an event that changes that input data to the iron-list. I need each object to reference to the top of the list and have not found any solution for that yet.…
TheBen
  • 3,410
  • 3
  • 26
  • 51
1
vote
2 answers

Disqus comments don't work in a polymer custom element

I don't know how to make a disqus comments code to work inside of my custom elements. Structure of my site: | index.html --------\ my-app.html (custom element) ----------------\ my-testView1.html (custom element) ----------------\…
Un1
  • 3,874
  • 12
  • 37
  • 79
1
vote
1 answer

paper-datatable Port to Dart with custom_element_apigen: does not working

I am trying port to Dart this nice paper-datatable implementation using custom_element_apigen. Some problems occurred and sought to find solutions according to my understanding (perhaps included more problems!). However, still an error is thrown…
Muka
  • 1,190
  • 1
  • 12
  • 27
1
vote
1 answer

Marking a project as unsupported

I keep seeing the polymer_elements being described as 'unsupported' although development is occurring with it. Does this means it is unsupported by Google? Please explain. Thanks
st_clair_clarke
  • 5,453
  • 13
  • 49
  • 75
1
vote
1 answer

Wrapping validation errors for polymer-element paper-input

I notice that if the width of my custom Polymer 1.x element is narrower than the width of the validation error message on a paper-input element, the error overflows beyond the right border of the custom element. See graphic below: Is there a…
st_clair_clarke
  • 5,453
  • 13
  • 49
  • 75
1
2 3