docs(elements): update api doc for custom elements (#38252)
by adding cross-references to Angular Elements Overview guide. PR Close #38252
This commit is contained in:
parent
af80bdb470
commit
9893576ef0
|
@ -18,6 +18,8 @@ import {createCustomEvent, getComponentInputs, getDefaultAttributeToPropertyInpu
|
|||
* that can be used for custom element registration. Implemented and returned
|
||||
* by the {@link createCustomElement createCustomElement() function}.
|
||||
*
|
||||
* @see [Angular Elements Overview](guide/elements "Turning Angular components into custom elements")
|
||||
*
|
||||
* @publicApi
|
||||
*/
|
||||
export interface NgElementConstructor<P> {
|
||||
|
@ -115,6 +117,8 @@ export interface NgElementConfig {
|
|||
* static property to affect all newly created instances, or as a constructor argument for
|
||||
* one-off creations.
|
||||
*
|
||||
* @see [Angular Elements Overview](guide/elements "Turning Angular components into custom elements")
|
||||
*
|
||||
* @param component The component to transform.
|
||||
* @param config A configuration that provides initialization information to the created class.
|
||||
* @returns The custom-element construction class, which can be registered with
|
||||
|
|
Loading…
Reference in New Issue