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);