docs: convert all @experimental
tags to @publicApi
tags (#26595)
PR Close #26595
This commit is contained in:

committed by
Alex Rickabaugh

parent
5e2bf292e5
commit
a8430db45d
@ -21,7 +21,7 @@ const DESTROY_DELAY = 10;
|
||||
* Factory that creates new ComponentNgElementStrategy instance. Gets the component factory with the
|
||||
* constructor's injector's factory resolver and passes that factory to each strategy.
|
||||
*
|
||||
* @experimental
|
||||
* @publicApi
|
||||
*/
|
||||
export class ComponentNgElementStrategyFactory implements NgElementStrategyFactory {
|
||||
componentFactory: ComponentFactory<any>;
|
||||
@ -40,7 +40,7 @@ export class ComponentNgElementStrategyFactory implements NgElementStrategyFacto
|
||||
* Creates and destroys a component ref using a component factory and handles change detection
|
||||
* in response to input changes.
|
||||
*
|
||||
* @experimental
|
||||
* @publicApi
|
||||
*/
|
||||
export class ComponentNgElementStrategy implements NgElementStrategy {
|
||||
/** Merged stream of the component's output events. */
|
||||
|
@ -18,7 +18,7 @@ import {createCustomEvent, getComponentInputs, getDefaultAttributeToPropertyInpu
|
||||
* that can be used for custom element registration. Implemented and returned
|
||||
* by the {@link createCustomElement createCustomElement() function}.
|
||||
*
|
||||
* @experimental
|
||||
* @publicApi
|
||||
*/
|
||||
export interface NgElementConstructor<P> {
|
||||
/**
|
||||
@ -37,7 +37,7 @@ export interface NgElementConstructor<P> {
|
||||
/**
|
||||
* Implements the functionality needed for a custom element.
|
||||
*
|
||||
* @experimental
|
||||
* @publicApi
|
||||
*/
|
||||
export abstract class NgElement extends HTMLElement {
|
||||
/**
|
||||
@ -77,7 +77,7 @@ export abstract class NgElement extends HTMLElement {
|
||||
* for properties that are added based
|
||||
* on the inputs and methods of the underlying component.
|
||||
*
|
||||
* @experimental
|
||||
* @publicApi
|
||||
*/
|
||||
export type WithProperties<P> = {
|
||||
[property in keyof P]: P[property]
|
||||
@ -88,7 +88,7 @@ export type WithProperties<P> = {
|
||||
* dependencies and strategy it needs to transform a component into
|
||||
* a custom element class.
|
||||
*
|
||||
* @experimental
|
||||
* @publicApi
|
||||
*/
|
||||
export interface NgElementConfig {
|
||||
/**
|
||||
@ -120,7 +120,7 @@ export interface NgElementConfig {
|
||||
* @returns The custom-element construction class, which can be registered with
|
||||
* a browser's `CustomElementRegistry`.
|
||||
*
|
||||
* @experimental
|
||||
* @publicApi
|
||||
*/
|
||||
export function createCustomElement<P>(
|
||||
component: Type<any>, config: NgElementConfig): NgElementConstructor<P> {
|
||||
|
@ -11,7 +11,7 @@ import {Observable} from 'rxjs';
|
||||
/**
|
||||
* Interface for the events emitted through the NgElementStrategy.
|
||||
*
|
||||
* @experimental
|
||||
* @publicApi
|
||||
*/
|
||||
export interface NgElementStrategyEvent {
|
||||
name: string;
|
||||
@ -22,7 +22,7 @@ export interface NgElementStrategyEvent {
|
||||
* Underlying strategy used by the NgElement to create/destroy the component and react to input
|
||||
* changes.
|
||||
*
|
||||
* @experimental
|
||||
* @publicApi
|
||||
*/
|
||||
export interface NgElementStrategy {
|
||||
events: Observable<NgElementStrategyEvent>;
|
||||
@ -36,7 +36,7 @@ export interface NgElementStrategy {
|
||||
/**
|
||||
* Factory used to create new strategies for each NgElement instance.
|
||||
*
|
||||
* @experimental
|
||||
* @publicApi
|
||||
*/
|
||||
export interface NgElementStrategyFactory {
|
||||
/** Creates a new instance to be used for an NgElement. */
|
||||
|
@ -8,6 +8,6 @@
|
||||
|
||||
import {Version} from '@angular/core';
|
||||
/**
|
||||
* @experimental
|
||||
* @publicApi
|
||||
*/
|
||||
export const VERSION = new Version('0.0.0-PLACEHOLDER');
|
||||
|
Reference in New Issue
Block a user