python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
When is a Custom Element constructor invoke? (HTMLTemplateElement.content problem)
Take a look at this simple example
(don't bother with this, go to the EDIT)
class MyElement extends HTMLElement {
customProperty = "something";
constructor() {
super();
console.log(...
Jorge Luis
Votes: 0
Answers: 3
Vue 3 : disable shadow dom while using custom element
I would like to add in a non-vue application a custom element.
For that, I've created a classical SFC :
//test.ce.vue
<template>
<div class="text-primary">Test</div>
&l...
Mulot
Votes: 0
Answers: 2
Can't set textContent of a customised built-in element except in timeout
I'm making a customised element that automatically localises it's visual text representation:
class LocalDate extends HTMLTimeElement {
// Specify observed attributes so that
// attributeChan...

Sora2455
Votes: 0
Answers: 1
web-component slot content is not displayed
I'm building a custom-element using svelte. Below is svelte component content
<template>
<slot name="description">{ description }</slot>
<slot name="days&qu...

Syffys
Votes: 0
Answers: 1