CustomElementRegistry

@native @JSGlobal @JSType
abstract class CustomElementRegistry extends Object

The CustomElementRegistry interface provides methods for registering custom elements and querying registered elements. To get an instance of it, use the window.customElements property.

class Object
trait Any
class Object
trait Matchable
class Any

Value members

Abstract methods

def define(name: String, constructor: Dynamic, options: ElementDefinitionOptions): Unit

Defines a new custom element.

Defines a new custom element.

Inherited methods

def hasOwnProperty(v: String): Boolean
Inherited from:
Object
def isPrototypeOf(v: Object): Boolean
Inherited from:
Object
def propertyIsEnumerable(v: String): Boolean
Inherited from:
Object
def toLocaleString(): String
Inherited from:
Object
def valueOf(): Any
Inherited from:
Object