projects/m2-core/src/lib/widget-modules/selectors/operator-selector.component.ts
| selector | operator-selector |
| styles |
:host.active {
cursor: pointer;
}
|
| template | |
Properties |
Methods |
Inputs |
Outputs |
Accessors |
| availableOperators |
Type : T[]
|
| currentValue |
| disabledOperatorType |
Type : T
|
| editModeON |
Type : boolean
|
| fixToOffsetV |
Type : number
|
Default value : 0
|
| getOperatorNameFn |
Type : function
|
| isFocused |
Type : boolean
|
| operatorNature |
Type : OperatorNature
|
Default value : 'COMPARISON'
|
| propositionsFixedPositioning |
Type : boolean
|
Default value : true
|
| currentValueChange |
Type : EventEmitter
|
| isFocusedChange |
Type : EventEmitter
|
| operatorChanged |
Type : EventEmitter
|
| onOperatorChanged | ||||||
onOperatorChanged(newOperator: T)
|
||||||
|
Parameters :
Returns :
void
|
| _currentValue |
Type : T
|
| currentValueStr |
Type : string
|
| getPropositionsFn |
Default value : (() => Promise.resolve(
(this.availableOperators || [])
.filter(o => o != this.disabledOperatorType)
.map(o => new DataProposition(this.getOperatorName(o), o)))
)
|
| isFocusedValue |
Type : boolean
|
| isFocused | ||||||
getisFocused()
|
||||||
setisFocused(value: boolean)
|
||||||
|
Parameters :
Returns :
void
|
| currentValue | ||||||
setcurrentValue(value: T)
|
||||||
|
Parameters :
Returns :
void
|