whenDefined method
The whenDefined()
method of the
CustomElementRegistry interface returns a Promise
that
resolves when the named element is defined.
Implementation
external JSPromise<CustomElementConstructor> whenDefined(String name);
The whenDefined()
method of the
CustomElementRegistry interface returns a Promise
that
resolves when the named element is defined.
external JSPromise<CustomElementConstructor> whenDefined(String name);