object.minimumValue

Type Number
Library widget.*
Revision Release 2024.3703
Keywords widget, stepper, increment, decrement, StepperWidget, minimumValue
See also object.maximumValue
object.value
widget.newStepper()
StepperWidget

Overview

A read-only property that represents the minimum value of the StepperWidget.

Examples

-- Handle stepper events
local function onPress( event )

    print( "Stepper's minimum value is:", event.minimumValue )
    print( "Stepper's current value is:", event.value )
end

-- Create a default stepper
local stepper = widget.newStepper
{
    left = 140,
    top = 235,
    initialValue = 0,
    minimumValue = 0,
    maximumValue = 50,
    onPress = onPress
}