@angular/elementslink
入口点
主要
@angular/elements |
导出列表
类
NgElement | Implements the functionality needed for a custom element. |
函数
createCustomElement | Creates a custom element class based on an Angular component. |
结构
NgElementConfig | A configuration that initializes an NgElementConstructor with the dependencies and strategy it needs to transform a component into a custom element class. |
NgElementConstructor | Prototype for a class constructor based on an Angular component that can be used for custom element registration. Implemented and returned by the createCustomElement() function. |
NgElementStrategy | Underlying strategy used by the NgElement to create/destroy the component and react to input changes. |
NgElementStrategyEvent | Interface for the events emitted through the NgElementStrategy. |
NgElementStrategyFactory | Factory used to create new strategies for each NgElement instance. |
类型
WithProperties | Additional type information that can be added to the NgElement class, for properties that are added based on the inputs and methods of the underlying component. |