projects/m2-core/src/lib/shared/ui-components/value/property-value/name-value.component.ts
| selector | name-value |
| template | |
Properties |
Methods |
Inputs |
Outputs |
constructor(logger: Logger, dataEditService: DataEditService, propositionsService: PropositionsService, propertyValueService: PropertyValueService, tabService: TabService, Help: any)
|
|||||||||||||||||||||
|
Parameters :
|
| applicationAttributes |
Type : Pair<number | Map<number, ApplicationAttribute[]>>
|
| attrValue |
Type : AttributeValue
|
| customUpdatePropertyValueFn |
Type : function
|
| editModeON |
Type : boolean
|
| hasPropositions |
Type : boolean
|
| ownerItemId |
Type : number
|
| created |
Type : EventEmitter
|
| deleted |
Type : EventEmitter
|
| ngOnChanges | ||||||
ngOnChanges(changes: ComponentChanges<NameValueComponent>)
|
||||||
|
Parameters :
Returns :
void
|
| changeValueFn |
Default value : ((name: string) => this.changeValue(name))
|
| debounceTimeInMs |
Default value : APP_SETTINGS.PROPOSITIONS_DEBOUNCE_IN_MS
|
| Public isFocused |
Type : boolean
|
| onHelpRequested |
Default value : ((event: KeyboardEvent) => this.editModeON && this.Help.open(this.Help.NAME_VALUE_HELP_PATH, event))
|
|
Help |
| updatePropertyValueFn |
Type : function
|
Default value : (request => this.dataEditService.updatePropertyValue(request))
|