Interface ComponentRef<T>

interface ComponentRef<T> {
    compiledTemplate?: DomNode;
    disabledFeatures?: ("internals" | "shadow")[];
    encapsulation:
        | "custom"
        | "template"
        | "shadow-dom"
        | "shadow-dom-template"
        | "shadow-slot";
    extend: Tag;
    extendCustomElement: boolean;
    formAssociated: boolean
    | Type<ValueControl>;
    hostBindings: HostBindingRef[];
    hostListeners: ListenerRef[];
    inputs: InputPropertyRef[];
    isShadowDom: boolean;
    modelClass: Type<T>;
    outputs: OutputPropertyRef[];
    selector: string;
    shadowRootInit: ShadowRootInit;
    signals: SignalRuntimeMetadata[];
    styles: string;
    template: DomNode | DomRenderNode<T>;
    view: string;
    viewBindings?: DomElementNode;
    viewChild: ChildRef[];
    ViewChildren: ChildRef[];
    viewClass: MetadataClass<HTMLComponent<T>> & CustomElementConstructor;
    windowBindings?: DomElementNode;
    zone?: ZoneType;
}

Type Parameters

  • T

Properties

compiledTemplate?: DomNode
disabledFeatures?: ("internals" | "shadow")[]
encapsulation:
    | "custom"
    | "template"
    | "shadow-dom"
    | "shadow-dom-template"
    | "shadow-slot"
extend: Tag
extendCustomElement: boolean
formAssociated: boolean | Type<ValueControl>
hostBindings: HostBindingRef[]
hostListeners: ListenerRef[]
isShadowDom: boolean
modelClass: Type<T>
selector: string
shadowRootInit: ShadowRootInit
signals: SignalRuntimeMetadata[]
styles: string
template: DomNode | DomRenderNode<T>
view: string
viewBindings?: DomElementNode
viewChild: ChildRef[]
ViewChildren: ChildRef[]
viewClass: MetadataClass<HTMLComponent<T>> & CustomElementConstructor
windowBindings?: DomElementNode
zone?: ZoneType