PiyingFieldTemplateDirective
Defined in: projects/view-angular/lib/directives/field-template.directive.ts:17
Extends
Section titled “Extends”DynamicCreateDirective
Type Parameters
Section titled “Type Parameters”P extends KeyPath = []
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new PiyingFieldTemplateDirective<
S,P>():PiyingFieldTemplateDirective<S,P>
Defined in: projects/view-angular/lib/hook/dynamic-create.ts:86
Returns
Section titled “Returns”PiyingFieldTemplateDirective<S, P>
Inherited from
Section titled “Inherited from”DynamicCreateDirective.constructor
Properties
Section titled “Properties”componentRef?
Section titled “componentRef?”
optionalcomponentRef?:ComponentRef<any>
Defined in: projects/view-angular/lib/component/base.component.ts:136
Inherited from
Section titled “Inherited from”DynamicCreateDirective.componentRef
destroyComponentFn?
Section titled “destroyComponentFn?”
optionaldestroyComponentFn?: () =>void
Defined in: projects/view-angular/lib/component/base.component.ts:132
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”DynamicCreateDirective.destroyComponentFn
field:
Signal<PiResolvedViewFieldConfig>
Defined in: projects/view-angular/lib/directives/field-template.directive.ts:39
Overrides
Section titled “Overrides”DynamicCreateDirective.field
field$$
Section titled “field$$”field$$:
Signal<PiFieldGet<S,P> |undefined>
Defined in: projects/view-angular/lib/directives/field-template.directive.ts:35
fieldComponentInstance?
Section titled “fieldComponentInstance?”
optionalfieldComponentInstance?:any
Defined in: projects/view-angular/lib/component/base.component.ts:133
Inherited from
Section titled “Inherited from”DynamicCreateDirective.fieldComponentInstance
fieldDirectiveRefList?
Section titled “fieldDirectiveRefList?”
optionalfieldDirectiveRefList?:any[]
Defined in: projects/view-angular/lib/component/base.component.ts:135
Inherited from
Section titled “Inherited from”DynamicCreateDirective.fieldDirectiveRefList
fieldElementRef?
Section titled “fieldElementRef?”
optionalfieldElementRef?:ElementRef<HTMLElement>
Defined in: projects/view-angular/lib/component/base.component.ts:134
Inherited from
Section titled “Inherited from”DynamicCreateDirective.fieldElementRef
fieldTemplate
Section titled “fieldTemplate”
readonlyfieldTemplate:InputSignal<S>
Defined in: projects/view-angular/lib/directives/field-template.directive.ts:21
index:
number=0
Defined in: projects/view-angular/lib/hook/dynamic-create.ts:23
第一次默认为空
Inherited from
Section titled “Inherited from”DynamicCreateDirective.index
injector
Section titled “injector”injector:
Injector
Defined in: projects/view-angular/lib/directives/field-template.directive.ts:24
inputInjector
Section titled “inputInjector”inputInjector:
Signal<Injector>
Defined in: projects/view-angular/lib/directives/field-template.directive.ts:40
Overrides
Section titled “Overrides”DynamicCreateDirective.inputInjector
onInit
Section titled “onInit”onInit:
InputSignal<((field) =>void) |undefined>
Defined in: projects/view-angular/lib/directives/field-template.directive.ts:23
readonlypath:InputSignal<[...P[]] |PiFieldBindPath<S> |undefined>
Defined in: projects/view-angular/lib/directives/field-template.directive.ts:22
summaryList$$
Section titled “summaryList$$”summaryList$$:
Signal<ErrorSummary[]>
Defined in: projects/view-angular/lib/directives/field-template.directive.ts:43
valibotIssueSummary$$
Section titled “valibotIssueSummary$$”valibotIssueSummary$$:
Signal<string>
Defined in: projects/view-angular/lib/directives/field-template.directive.ts:44
Methods
Section titled “Methods”createComponent()
Section titled “createComponent()”createComponent(
list,viewContainerRef):void
Defined in: projects/view-angular/lib/component/base.component.ts:181
Parameters
Section titled “Parameters”DynamicComponentConfig[]
viewContainerRef
Section titled “viewContainerRef”ViewContainerRef
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”DynamicCreateDirective.createComponent
ngOnChanges()
Section titled “ngOnChanges()”ngOnChanges():
void
Defined in: projects/view-angular/lib/directives/field-template.directive.ts:50
Returns
Section titled “Returns”void
Overrides
Section titled “Overrides”DynamicCreateDirective.ngOnChanges
ngOnDestroy()
Section titled “ngOnDestroy()”ngOnDestroy():
void
Defined in: projects/view-angular/lib/hook/dynamic-create.ts:96
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”DynamicCreateDirective.ngOnDestroy
update()
Section titled “update()”update(
list):void
Defined in: projects/view-angular/lib/component/base.component.ts:310
Parameters
Section titled “Parameters”DynamicComponentConfig[]
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”DynamicCreateDirective.update