Questions tagged [polymer-1.x]
28 questions
7
votes
1 answer
How to filter an iron-list in polymer 1.0?
The dom-repeat element offers a filter attribute.
Is there a similar way to filter with iron-list?
For example: Given a list of people, I want to filter the ones born in a specific city.

Emerson Bottero
- 328
- 5
- 9
3
votes
3 answers
Property change not reflecting in UI when its set from dom-repeat's function - Polymer
I have array of objects and a property, my dom-repeat structure is like as below
//first dom repeat
[[myProperty]] //here also its not updating
…

ksh
- 639
- 1
- 7
- 23
2
votes
1 answer
HTML Import not working in Chrome Latest Version after using webcomponents
I am using polymer in my project. My polymer version is 1.12.0 and webcomponent version is 0.7.24. Even I used the webcomponent, I am getting HTML Import error (HTML Imports is deprecated and has now been removed as of M80). Is there any way to…

Prasath Gururmoorthy
- 21
- 1
2
votes
2 answers
Polymer 1.x: How to reset entire app after logout
I have a Polymer app. When a user logs out, I want to reset the entire app to its original state. (Right now, when the user logs back in after logging out, the app returns the user to the app state and page they were on when they logged out.)
Is…

Let Me Tink About It
- 15,156
- 21
- 98
- 207
2
votes
2 answers
Call a Method From Inside dom-repeat in Polymer
I'm having this situation where I need to call a method from the dom-repeat. Below is my code
…

Vishnu
- 1,516
- 1
- 10
- 15
2
votes
1 answer
Polymer 1.x: Getting custom element to say HELLO WORLD in Plunker
In this Plunk, why won't the x-foo element render HELLO WORLD?.
Given the more complex content-el seems to be importing an iron-data-table perfectly correctly. Am I overlooking something simple? Please answer with a working…

Let Me Tink About It
- 15,156
- 21
- 98
- 207
2
votes
2 answers
Polymer 1.x: iron-data-table does not load data nor header styles on first render when inside neon-animated-pages
The below screenshot shows how my iron-data-table element looks when it first loads. Notice the data is missing and the headers are not fully formatted (the width seems to be too small to show the column header labels).
However, if I enter a…

Let Me Tink About It
- 15,156
- 21
- 98
- 207
1
vote
0 answers
Expected array for `items` polymer in my console
I'm learning Polymer 1.8 and I'm trying to get data from an api.
after that i want to bind data from my ontap() function with a dom-repeate, but I'm getting a weird error in the console:
[dom-repeat::dom-repeat]: expected array for…

Aziz Arafa
- 11
- 1
1
vote
2 answers
Polymer 1.x: Using iron-ajax inside a custom behavior
I'm building a custom behavior. Call it MyBehaviors.MySpecialBehavior.
But I need to get data that's stored locally in a JSON file called my-data.json.
How can I do this inside my behavior? I'm trying to import iron-ajax but I can't think of how to…

Let Me Tink About It
- 15,156
- 21
- 98
- 207
1
vote
1 answer
Polymer 1.x: How to remove whitespace from paper-menu inside paper-dialog?
I want this...
Below is a paper-dialog implementation. It contains whitespace at the top and bottom of the dialog element. I want to eliminate the white space.
http://jsbin.com/bupicetoma/1/edit?html,output

Let Me Tink About It
- 15,156
- 21
- 98
- 207
1
vote
1 answer
Polymer 1.x: Using iron-input to format numbers on input
In this jsBin, I format input numbers using commas. But is there a way to accomplish this using a Polymer element (like maybe

Let Me Tink About It
- 15,156
- 21
- 98
- 207
0
votes
1 answer
How to attach nuxeo-tree component to Polymer v1 app
I want to add the component to my Polymer v1 app, but I'm seeing an error in the console. This is the code I've tried:

Wojtass
- 3
- 1
0
votes
1 answer
custom vaadin-grid filter for Polymer 1.0
I’m using the vaadin-grid#^3.0.2 in my polymer 1.0 project.
But I’m looking to create an on/off toggle button that will filter a column based on if the text in two columns are not a match. So if a row in column 1 contains text=“1.1.1” and that same…

nwammy
- 1
- 2
0
votes
1 answer
Changing styles of custom element css properties with css media
I am trying to make responsive web and I have a little issue. Whenever I want to change some custom css property based on css media, it won't apply.
For example: I am trying to change size of iron-icon based on currently active CSS media. I have…

Kuba Šimonovský
- 2,013
- 2
- 17
- 35
0
votes
0 answers
Paper Dialog shows whitespace above it
{ "name": "main-page", "main": "main-page.html", "dependencies": { "polymer": "Polymer/polymer#^1.4.0", "polymer-ts": "^0.2.2", "paper-button": "PolymerElements/paper-button#^2.0.0", "paper-dialog": "PolymerElements/paper-dialog#^2.0.0",…

Gurjit Singh
- 31
- 1
- 4