sap.m.StepInputStepModeType.AdditionAndSubtraction
|
Choosing increase/decrease button will add/subtract the step value to/from the current value. For example, if step is 5, current value is 17 and increase button is chosen, the result will be 22 (5+17). Note: Using keyboard PageUp/PageDown will add/subtract the step multiplied by the largerStep values to/from the current value . For example, if step is 5, largerStep is 3, current value is 17 and PageUp is chosen, the result would be 32 (5*3+17). For more information, see sap.m.StepInput's step , largerStep and stepMode properties.
|
sap.m.StepInputStepModeType.Multiple
|
Pressing increase/decrease button will increase/decrease the current value to the closest number that is divisible by the step . For example, if step is 5, current value is 17 and increase button is chosen, the result will be 20 as it is the closest larger number that is divisible by 5. Note: Using keyboard PageUp/PageDown will increase/decrease the current value to the closest number that is divisible by the multiplication of the step and the largerStep values. For example, if step is 5, largerStep is 3, current value is 17 and PageUp is chosen, the result would be 30 as it is the closest larger number that is divisible by 15. The logic above will work only if both step and largerStep are integers. For more information, see sap.m.StepInput's step , largerStep and stepMode properties.
|