Slider(min=0.0, max=1.0, step=0.1)
Example
from mirmod.controls import Slider
@wob.receiver("value", "input", control=Slider(min=0.0, max=100.0, step=1.0))
def receive_input(self, i):
self.value = float(i)
Parameters
| Name | Type | Description |
|---|---|---|
| min | float | Minimum value of the slider. Default 0.0. |
| max | float | Maximum value of the slider. Default 1.0. |
| step | float | Step increment of the slider. Default 0.1. |