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.
interface NgElementConstructor<P> {
observedAttributes: string[]
new (injector: Injector): NgElement & WithProperties<P>
}
属性
属性 | 说明 |
---|---|
observedAttributes: string[] | 只读 An array of observed attribute names for the custom element, derived by transforming input property names from the source component. |
方法
Initializes a constructor instance. | |||
参数
返回值
|