MMOframework
Pourquoi l'IA Playground Bibliothèques Documentation Rechercher Agence
FR EN
Index

CustomShadowElement

MMO.elements · 1 symbole · générée le 27 Oct 2026

mixin

CustomShadowElement

CustomShadowElement.js:12

CustomElement with shadow dom mixin WARNING: It is a class mixin. Meaning you extend it with a parameter

class MMO.elements.CustomShadowElement extends MMO.elements.CustomElement(ClassElement)
Espace de noms
MMO.elements
Étend
CustomElement(ClassElement)
class P extends MMO.elements.CustomShadowElement(HTMLParagraphElement) {..}

Index

constructor()
queryShadow(selector)
queryShadowAll(selector)
init()Override: a shadow root scopes its own styles, so there is nothing to hoist.

Méthodes4

queryShadow(selector)

CustomShadowElement.js:26
queryShadow(selector)
selectorstring
retourne?Elementthe first match INSIDE the shadow root

queryShadowAll(selector)

CustomShadowElement.js:34
queryShadowAll(selector)
selectorstring
retourneNodeListevery match INSIDE the shadow root