Skip to content Skip to sidebar Skip to footer
Showing posts with the label Web Component

Polymer 1.0 On Firefox Referenceerror: Polymer Is Not Defined

Hello I have a working Polymer 1.0 web page on Chrome and Opera. Now I need the page to run in Fire… Read more Polymer 1.0 On Firefox Referenceerror: Polymer Is Not Defined

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

Why Do Pseudoclasses On The Host Element Have To Be Inside Of The Host Function?

I do not understand why pseudo classes like :focus-within need to be within the :host() function br… Read more Why Do Pseudoclasses On The Host Element Have To Be Inside Of The Host Function?

Using Paper Datatable In Angular2

I have been struggling for quiet a while about using paper-data-table (paper data table by David Mu… Read more Using Paper Datatable In Angular2

Web Components - Extend Native Element's Style

I would like to extend the native button element but I am not sure how to add styling. In Google… Read more Web Components - Extend Native Element's Style

How To Append Slot Children To Html Body Tag For Absolute Positioning?

I am creating a dropdown menu web component that will be used by consumers like: Toggle Menu Soluti… Read more How To Append Slot Children To Html Body Tag For Absolute Positioning?

Can I Use Custom Tag Names, Without Using Web Components, Just For Styling?

To my suprise, modern browser seem to not complain if I use custom tag names, and then style those … Read more Can I Use Custom Tag Names, Without Using Web Components, Just For Styling?

How To Create An Element In Javascript And Pass Parameters To It?

In the new v1 web components spec, you can create a new element by saying like class gg extends HTM… Read more How To Create An Element In Javascript And Pass Parameters To It?

Creating A Custom Table Row

I am trying to create a custom table row but having difficulty getting it to behave properly. I… Read more Creating A Custom Table Row

Polymer Data-binding: How To Access Data In Nested Template?

I want to implement a page containing a paper-tabs, with each tab showing a list of items according… Read more Polymer Data-binding: How To Access Data In Nested Template?

Svg Tag Doesn't Work Within Polymer Component In Firefox

Here is an example: http://miriti.ru/svgtest/ If you'll look at this example in any browser you… Read more Svg Tag Doesn't Work Within Polymer Component In Firefox

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?

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

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

How To Extend Native Dom Elements Using "is"?

I am trying to using the custom elements spec to extend native DOM elements using the 'is' … Read more How To Extend Native Dom Elements Using "is"?

How Do I Traverse Elements Within A Shadow DOM

I have div id=outer #shadowRoot div id=inner button In the click handler of the button, … Read more How Do I Traverse Elements Within A Shadow DOM

Why Do Pseudoclasses On The Host Element Have To Be Inside Of The Host Function?

I do not understand why pseudo classes like :focus-within need to be within the :host() function br… Read more Why Do Pseudoclasses On The Host Element Have To Be Inside Of The Host Function?

HTML Imports Load Order In Internet Explorer

I have a web page that renders some Polymer 1.0 custom elements. In the head section of my index.ht… Read more HTML Imports Load Order In Internet Explorer

How To Extend Native DOM Elements Using "is"?

I am trying to using the custom elements spec to extend native DOM elements using the 'is' … Read more How To Extend Native DOM Elements Using "is"?

How To Access Custom Element From Within A Linked Javascript File?

If I had a script like this Read more How To Access Custom Element From Within A Linked Javascript File?