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...
What's the best way to enforce require check on paper-radio-group? I saw another question and answer that uses fallback-selection, here, but I want to force the user to choose "yes" or "no".  <paper-radio-group selected="&#...
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 have created a function in global.function.js file as   function getData(flag) { if (flag === 1) {   return "one";  }  else {   return "not one";  } }   which then is imported using custom-js-import.html element:  <script src=...
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...
I am using the iron-form in Polymer 1.0 to submit a login form with paper-inputs and a paper-button.  I am calling submit() on the buttons onclick, but nothing happens. I even tried to put in a native button just to see if there was an error with my...
I am building a web app with Polymer 1.0 and Firebase, and I want to have the view change when data was entered into a path with a user ID in the path. To do that, I want to do something like this:  [[question.answers.(user.uid).choice]]   Let me exp...
I create a list of divs using an iron-list like this:  <iron-list items="[[chats]]" as="item" style="height:500px;">     <template>         <div class="item title" data-recipient$="[[item.recipient]]...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.