Skip to content Skip to sidebar Skip to footer
Showing posts with the label Polymer

Add A "dynamic" Element With Data-binding To My Polymer-element

For days I try to feed Polymer with some 'dynamic' elements :) Unfortunately without succes… Read more Add A "dynamic" Element With Data-binding To My Polymer-element

@media Don't Work Properly With Polymer Custom Css

I have 2 inputs and I want to make font-size appear small on small screens and big on normal screen… Read more @media Don't Work Properly With Polymer Custom Css

Polymer Paper-input And Form Submission

I'm working on a forum theme and started using web components but the form elements don't w… Read more Polymer Paper-input And Form Submission

Stretch Image In Iron-image Element

I have an element inside a div : . The image is 315px in width and 237px height. I Solution 1: I … Read more Stretch Image In Iron-image Element

Content Within Div Won't Fill Available Space Without Specifying Height

I have a page that is separated vertically into two panes. The left side layout is fine but I am h… Read more Content Within Div Won't Fill Available Space Without Specifying Height

How To Handle Input With Polymer, Without Blue Border Tab Focus?

Edit 2: Keypress events working, on this jsbin: http://jsbin.com/foyile/1/. The problem is, I need … Read more How To Handle Input With Polymer, Without Blue Border Tab Focus?

How To Call Function Defined Inside Polymer Custom Element And Pass Arguments?

I have html page using polymer builtin elements along with my customElement(my-form) … Read more How To Call Function Defined Inside Polymer Custom Element And Pass Arguments?

Html Import Not Working In Chrome

According to this article, it is possible to use HTML Imports via Polymer on browsers other than th… Read more Html Import Not Working In Chrome

Polymer 1.x: How To Data Bind To A Variable Boolean Attribute?

Question How do I bind a variable to/as the disabled attribute of a element? Based on the result… Read more Polymer 1.x: How To Data Bind To A Variable Boolean Attribute?

Passing Custom Css To Polymer Element

I would like to be able to pass CSS width to my custom element's shadow DOM. The custom element… Read more Passing Custom Css To Polymer Element

Shadow-root Sibling Elements Disappear On Attachshadow() Call

When I call host.attachShadow({mode: 'open'}) on a div containing a few elements inside, th… Read more Shadow-root Sibling Elements Disappear On Attachshadow() Call

How To Display Html Inside Template?

I have polymer-element: example By default templates is not allowed to insert html. This sample i… Read more How To Display Html Inside Template?

Href To Another Element Does Not Work In Polymer

I created a project using the Polymer Starter Kit, with its app-router. My my-app.html has the sele… Read more Href To Another Element Does Not Work In Polymer

Plain Javascript Code That Does What QuerySelector() And QuerySelectorAll() Does, Include Shadowroots

I am trying to write a method that takes in two params: one of the parentNode of the current elemen… Read more Plain Javascript Code That Does What QuerySelector() And QuerySelectorAll() Does, Include Shadowroots

Paper-input: Suggest Values In Typeahead

Is there an easy way to implement a typeahead using Polymer's element? The HTML tag seems to … Read more Paper-input: Suggest Values In Typeahead

@media Don't Work Properly With Polymer Custom Css

I have 2 inputs and I want to make font-size appear small on small screens and big on normal screen… Read more @media Don't Work Properly With Polymer Custom Css