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

Can A Custom Element's `connectedcallback` Be Called More Than Once Before `disconnectedcallback` Is Called?

The spec says: However, note that connectedCallback can be called more than once, so any initializ… Read more Can A Custom Element's `connectedcallback` Be Called More Than Once Before `disconnectedcallback` Is Called?

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

How To Extend An Existing Custom Element?

I have a custom element, called x-foo. I would like to extend it, and create an x-foo-extended elem… Read more How To Extend An Existing Custom Element?

Cannot Access Attributes Of A Custom Element From Its Constructor

I'm trying to create a polyfill of sorts using the Custom Elements API for custom elements used… Read more Cannot Access Attributes Of A Custom Element From Its Constructor

Creating New Element With A Dynamic Extends Class Expression

Is it possible to pass a class expression as parameter? Have not tried the eval route yet.. // Card… Read more Creating New Element With A Dynamic Extends Class Expression

How Do You Decouple Web Components?

I'm trying to work frameworkless, with pure javascript Web Components. I want my Web Components… Read more How Do You Decouple Web Components?