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"...
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...
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'm trying to use paper-tabs inside new element (tabs-list) but after print tabs I can't use querySelector to change selected one.  Element code (without style):  <link rel="import" href="../components/polymer/polymer.html"...
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...
I am creating a web component using native implementation, which in it's html template has links to images. However, those links only work if they are absolute, or relative to the main document, which means, that that component is not reusable, o...
According to the polymer docs, an object or array can be iterated over using the repeat statement in a <template>:     "expression" can be a simple identifier, a path or a full expression (including Object and Array literals).   After t...
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...
foo.html:  <link rel="import" href="bar.html"> <dom-module id="p-foo">     <template>         <p-bar>             <content select=".myContent"></content>         </p-bar>     &...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.