NgElement
Implements the functionality needed for a custom element.
abstract class NgElement extends HTMLElement {
protected ngElementStrategy: NgElementStrategy
protected ngElementEventsSubscription: Subscription | null
abstract attributeChangedCallback(attrName: string, oldValue: string, newValue: string, namespace?: string): void
abstract connectedCallback(): void
abstract disconnectedCallback(): void
}
属性
方法
Prototype for a handler that responds to the insertion of the custom element in the DOM. |
参数没有参数。 返回值
|
Prototype for a handler that responds to the deletion of the custom element from the DOM. |
参数没有参数。 返回值
|