InsertFieldDirective
Defined in: projects/view-angular/lib/component/insert-field.directive.ts:18
Extends
Section titled “Extends”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new InsertFieldDirective():
InsertFieldDirective
Returns
Section titled “Returns”InsertFieldDirective
Inherited from
Section titled “Inherited from”PiyingCreateComponentBase.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”PiyingCreateComponentBase.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”PiyingCreateComponentBase.destroyComponentFn
fieldComponentInstance?
Section titled “fieldComponentInstance?”
optionalfieldComponentInstance?:any
Defined in: projects/view-angular/lib/component/base.component.ts:133
Inherited from
Section titled “Inherited from”PiyingCreateComponentBase.fieldComponentInstance
fieldDirectiveRefList?
Section titled “fieldDirectiveRefList?”
optionalfieldDirectiveRefList?:any[]
Defined in: projects/view-angular/lib/component/base.component.ts:135
Inherited from
Section titled “Inherited from”PiyingCreateComponentBase.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”PiyingCreateComponentBase.fieldElementRef
insertFieldAttributes
Section titled “insertFieldAttributes”insertFieldAttributes:
InputSignal<Record<string,any> |undefined>
Defined in: projects/view-angular/lib/component/insert-field.directive.ts:20
insertFieldSlots
Section titled “insertFieldSlots”insertFieldSlots:
InputSignal<Record<string,TemplateRef<any>> |undefined>
Defined in: projects/view-angular/lib/component/insert-field.directive.ts:19
Methods
Section titled “Methods”createComponent()
Section titled “createComponent()”createComponent(
list?,viewContainerRef?):void
Defined in: projects/view-angular/lib/component/insert-field.directive.ts:25
Parameters
Section titled “Parameters”DynamicComponentConfig[]
viewContainerRef?
Section titled “viewContainerRef?”ViewContainerRef
Returns
Section titled “Returns”void
Overrides
Section titled “Overrides”PiyingCreateComponentBase.createComponent
ngOnChanges()
Section titled “ngOnChanges()”ngOnChanges(
changes):void
Defined in: projects/view-angular/lib/component/insert-field.directive.ts:38
Parameters
Section titled “Parameters”changes
Section titled “changes”Record<keyof InsertFieldDirective, SimpleChange>
Returns
Section titled “Returns”void
ngOnDestroy()
Section titled “ngOnDestroy()”ngOnDestroy():
void
Defined in: projects/view-angular/lib/component/insert-field.directive.ts:55
Returns
Section titled “Returns”void
ngOnInit()
Section titled “ngOnInit()”ngOnInit():
void
Defined in: projects/view-angular/lib/component/insert-field.directive.ts:52
Returns
Section titled “Returns”void
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