Questions tagged [polymer-1.0]

User this tag for questions specific to version 1 of Google's web components library, Polymer.

Polymer 1.0 is the first production-ready release of Google's web components library, . It was released at Google I/O on May 29, 2015.

2366 questions
0
votes
2 answers

Polymer 1.x: Accessing behavior properties

How do we access the properties of a behavior from inside an element using that behavior? From inside my-element.html, using this.randomData to access the randomData property of the imported behavior seems like it should work; but it does…
Let Me Tink About It
  • 15,156
  • 21
  • 98
  • 207
0
votes
1 answer

Polymer app-route redirect via function issue

just when I thought I figured out how app-route is working, I run into an issue that let me doubt that my understanding of this element is correct. From what I understood, it's the responsibility of app-location to keep the browser URL and the value…
Alex Jongman
  • 189
  • 10
0
votes
1 answer

Paper-toolbar in Polymer 2.0

When I install paper-toolbar when using Polymer 2.0 I always get this in the PolymerCLI Unable to find a suitable version for polymer, please choose one by typing one of the numbers below: 1) polymer#^1.2.0 which resolved to 1.8.1 and is required by…
0
votes
1 answer

Polymer app-header not working as intended without app-header-layout

Due to stacking context issues with app-header-layout I had to remove that component completely and use by it's own. My issue is that the header condense, sticky and reveal behaviors are not working as expected and…
Andre
  • 1,292
  • 1
  • 17
  • 34
0
votes
1 answer

How to prevent user from going back to previous page after logout in polymer

I am working on polymer app where the landing page itself is the sign-in page and after the user logs out successfully i am redirecting him to sign-in page like this window.history.pushState({}, null, '/'); window.dispatchEvent(new…
aries12
  • 370
  • 2
  • 18
0
votes
1 answer

Change CSS variable background image on Polymer app-header

I want to update the background image dynamically using CSS variables. app-header { background-color: var(--paper-red-500); --app-header-background-front-layer: { background-image: url(var(--profile-cover)); }; } But it won't…
0
votes
1 answer

Polymer Light DOM with nested elements

How can I add Light DOM to element without the container element? I am trying to build a custom element that contains iron-pages and would like to pass its content as Light DOM. But, the rendered DOM contains the wrapping causing iron-pages to not…
kleptomac
  • 49
  • 6
0
votes
1 answer

Send data between Polymer Elements using iron-ajax

I'm having the my-app.html which does have the app-toolbar, app-drawerlayout and etc which is loading the my menu elements(myView1.html and myView2.html). I have iron-ajax call in myView1.html so when the response comes in the myView1.html it…
Jagadesh Seeram
  • 2,630
  • 1
  • 16
  • 29
0
votes
1 answer

Iron-list not update after element property changed

I'm having problems re-rendering an iron-list after changing an item property. I need iron-list to re-render to apply new classes just like it does when i push or splice items. Already tried almost everything(notifyPath, resize, _update, ...) but…
atl3
  • 107
  • 5
0
votes
1 answer

iron-ajax hitting an URL gives No 'Access-Control-Allow-Origin' header is present on the requested resource

I am using like as : When i Check in Network tab in Chrome, response is…
Mandeep Singh
  • 1,287
  • 14
  • 34
0
votes
1 answer

Cannot set property '_parent_dataUrl' of undefined in polymer

I am trying to set property for my custom tag. But it gives error instead. I am attaching screenshot of error and code snippet also. properties: { dataUrl: { type: String, …
Ankita
  • 289
  • 4
  • 16
0
votes
1 answer

Webcomponents-lite.min.js loads out of order

Using Firefox which requires webcomponents-lite.min.js. In my index.html I have webcomponents-lite.min.js that executes and loads before my routing.js script: