I am trying to implement this answer.  Is there any way to bind an on-click or on-tap event of a <paper-button> to either of the following hidden input elements?  my-form.html  <iron-form>   <form>     ...     <my-buttons><...
I am facing an issue with automating polymer ui page using selenium webdriver. The reason that is blocking to start selenium automation is "shadow root" element in  the polymer components. kindly suggest with some examples or ideas to overcom...
I have a tile inside a template and I want it to show a date:    <template>     <px-tile         description=[[date]]     </px-tile>   </template>   Where date is a property of the element:    date: {     type: Date,   }   This w...
What is the clean way, with Polymer 2.0, to parameterize the dom-repeat item template ?  Usage:  <custom-component>     <template id="item-template">         [[item]]     </template> </custom-component>   CustomCompone...
I'm migrating an existing Polymer-based application to Polymer 2, and one thing the Polymer 2 upgrade guide is annoyingly silent about is how to update the routing code to work with the updated app-route and all its "routing encapsulation"...
I'm trying to upgrade to Polymer 2.0 and I can't seem to append child elements on a parent element's load like I could in 1.X. Previously, I think I just used the ready callback, but it seems all the callbacks have changed.   Seen here in...
In Polymer 2, Im trying to change a property called urls that is in the shadow DOM. I try to acceess it in var loader. I have tried:  var loader = document.querySelector( '#urls' ); var loader = this.shadowRoot.querySelector('#urls');...
I have a custom Polymer 2 video-player element and I want the ability to pass in a property to each element instance in order to define which stylesheet to apply to it (different theme names are released each year and each set of styles currently exi...
I'm trying to use the slot API in this example:  <tabs-s>   <tab-c>   <tab-c> </tabs>   where tabs-s is the component that wraps other components.Inside it I'm using the  tag to render its dom but if I want the assigne...
While developing some custom elements with polymer and pdf.js to show pdf files I noticed a memory leak while displaying and switching between two pdf files. The consumed memory grows and I can't seem to figure out the reason. To observe the memo...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.