In Polymer 0.5 the advice on globals was as outlined in this question/answer:  Polymer global variables  However in Polymer 1.0 this doesn't seem to work. Change notifications are not automatically generated on the underlying model, they are gene...
In my polymer app, when I open a paper-dialog using an iPhone, it's not centered, as opposed to opening it using Chrome or Safari using the a desktop Mac or PC.  I'm dynamically constructing the paper-dialog element and placing it in the DOM...
In Polymer 1.x I am trying to push data from my database to an array, but for whatever reason, it suddenly stopped working.  When running this code  ready: function(){     var leserbriefRef = firebase.database().ref('leserbriefe');         le...
I'm triyng to bind a paper-toggle-button to a boolean but it's not working. I already tried binding with $= and evaluating with ?=. I want to show if the user isActive.  <template is="dom-repeat" items={{users}}>  <button cla...
I am trying to change the color of an element when a button is pressed. I want a paper ripple effect to be triggered in that element when the button is pressed and the color changes.  How am I supposed to do that?  Target element:  <paper-toolbar...
In my code below, the if condition is only evaluated at init. How do I get it to re-evaluate the condition whenever myType is changed?  <dom-module id="media-element">   <template>     <template is="dom-if" if="[[is...
I'm encountering an issue binding an object that contains a function from angular to Polymer 1.0. The function is not being passed through into the target object in the custom element. Here is a simplified code sample:  The custom element has a s...
Trying to instantiate template using Polymer.Templatizer behavior.  Here is simple template:  <template>         <div>           item         </div> </template>   Here is code that should create element from given template:  /...
I've got a Polymer app running an iron-ajax call to a service that returns a json string:  {     "name": "John" }   The Polymer code on the main page is:  <link rel="import" href="/elements/my-form.html">  &l...
The polymer docs aren't clear on how to create a multiple toggle using iron-collapse. Is there an easy way to get each item to toggle? I had a look at multiple iron-collapse not working, expands only first but I could not get it to work. Maybe so...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.