Skip to content Skip to sidebar Skip to footer
Showing posts with the label Custom Element

Custom Element Getrootnode.closest() Function Crossing Multiple (parent) Shadowdom Boundaries

I spent some time searching but have only seen too many regular 'walk the DOM' blogs or ans… Read more Custom Element Getrootnode.closest() Function Crossing Multiple (parent) Shadowdom Boundaries

Polymer: Create A "general" Custom Element

I am attempting to build an element with attributes that would specify which element should take pl… Read more Polymer: Create A "general" Custom Element

Polymer 1.x: Obtaining Customstyles Property Value

Here is my jsBin. The parent-element sets the value of the --custom-color property in the child-ele… Read more Polymer 1.x: Obtaining Customstyles Property Value

Disqus Comments Don't Work In A Polymer Custom Element

I don't know how to make a disqus comments code to work inside of my custom elements. Structu… Read more Disqus Comments Don't Work In A Polymer Custom Element

What Is The Difference Between `HTMLImports.whenReady` And `window.addEventListener('WebComponentsReady', Function(e) {`

What is the difference between HTMLImports.whenReady and window.addEventListener('WebComponent… Read more What Is The Difference Between `HTMLImports.whenReady` And `window.addEventListener('WebComponentsReady', Function(e) {`

Is There Any Environment That Implements The New Custom Elements Specification?

A new version of the custom elements has been released at some point in the past (not sure when, as… Read more Is There Any Environment That Implements The New Custom Elements Specification?

Shared Styling With Custom HTML Elements?

I'm beginning to use custom elements, and one thing I can't figure out is sharing styling. … Read more Shared Styling With Custom HTML Elements?