I'm using polymer-jsonp to perform JSONP requests, but the response sometimes contains html.  For example, supposing that post.content is "<strong>Foo</strong> bar", how can I display {{post.content}} such that "Foo"...
How can I access node that have dynamic id value using Polymer node finding by id?  For example  <template>     <div id="{{ id }}"></div> </template>   and in js  Polymer("my-element", {     ready: function() {...
I don't know how to make a disqus comments code to work inside of my custom elements.    Structure of my site:  | index.html --------\ my-app.html (custom element) ----------------\ my-testView1.html (custom element) ----------------\ my-testView...
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...
There is a rather usual problem to implement i18n in node.js web project. The problem seems even worse if you want to:    use web components (like Polymer)   use single translation file for server-side and client-side files   translate some items pro...
I'm using Polymer 2.0 and I have a dom-repeat for different to-do cards. What I want to do is remove the card when I click on it.   So I tried this on-tap=deleteNote([[index]]) which uses the index from the dom-repeat. However Polymer doesn't...
I am trying to use the polymer component  but it is not displaying. The element is there. I can see it in the inspector but it just does not display. There are also no error messages which does not help. I have tried to recreate the demo.html in the...
How do I attach an observer to a polymer attribute that is an array?  To be clear, I want callbacks when items in the array change.  For simplicity, let's say my array is:  [     { text: 'foo' },     { text: 'bar' } ]   I want som...
Context:  I am carrying out tests about web component composition in different contexts. Particularly I am trying to relate several web component by getting access to one of them from another one by a searching process within the DOM / Shadow DOM of...
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...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.