Run when the slider's or status bar's minimum and maximum values change. Run when the minimum/maximum values are set programmatically with Slider:SetMinMaxValues()
or StatusBar:SetMinMaxValues()
.
Signature:
OnMinMaxChanged(self,
min,
max)
Arguments:
self
- Reference to the widget for which the script was run (frame
)min
- New minimum value of the slider or the status bar (number
)max
- New maximum value of the slider or the status bar (number
)