Register a new plugin via its custom element name. This method is called
automatically as a side effect of importing a plugin module, so this
method should only typically be called by plugin authors.
Parameters
name: string
The name of the custom element to register, as supplied
to the customElements.define(name) method.
Register a new plugin via its custom element name. This method is called automatically as a side effect of importing a plugin module, so this method should only typically be called by plugin authors.