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 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:  /...
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...
I'm using Polymer 1.0 and when there is a click on a button in Chrome a MouseEvent is generated. This MouseEvent object has a path property which is an ordered array of parent elements to the clicked button. In Firefox & Safari, however, a cl...
Is there a Polymer dom api method or other ways to automatically update the repeated template with additional elements, should the underlying array gets updated?   I have a dynamic array that gets updated through ajax calls repeatedly. This array kee...
Need to add a custom validator which does some complex validation based on the values of other fields in the html.   Tried adding custom validator function as an attribute to the paper-input element but it    wont get called at all.       <dom-mod...
I have a polymer 1.x element called input-header and it looks like this   <link rel="import" href="../../bower_components/polymer/polymer.html">  <dom-module id="input-header">    <template>      <style>...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.