Bindings: Difference between revisions

Jump to navigation Jump to search
140 bytes added ,  22 December 2021
m
→‎property-adjust: Added note about wrap=true
m (Explain order of execution of multiple bindings)
m (→‎property-adjust: Added note about wrap=true)
Line 104: Line 104:
; min      : The minimum allowed value. Defaults to "no minimum."
; min      : The minimum allowed value. Defaults to "no minimum."
; max      : The maximum allowed value. Defaults to "no maximum."
; max      : The maximum allowed value. Defaults to "no maximum."
; wrap    : If true, the value will be wrapped when it passes min or max; both min and max must be present for this to work. Defaults to false.
; wrap    : If true, the value will be wrapped when it passes min or max; both min and max must be present for this to work. Defaults to false.:{{Note|When wrap is set to true, the max parameter must be set to the desired maximum value + step or factor in order to work correctly !}}
; mask    : This argument accepts three value: "integer," "decimal" and "all" (default). "integer" means that '''step''' or '''offset * factor''' is applied to the part of the property's current value left of the decimal point first. "decimal" does the same, but applies it to the prt to the right of the decimal point. "all" simply applies it to the whole number. This parameter does not seem to affect the resulting new value of the property, and so is not needed.
; mask    : This argument accepts three value: "integer," "decimal" and "all" (default). "integer" means that '''step''' or '''offset * factor''' is applied to the part of the property's current value left of the decimal point first. "decimal" does the same, but applies it to the prt to the right of the decimal point. "all" simply applies it to the whole number. This parameter does not seem to affect the resulting new value of the property, and so is not needed.


97

edits

Navigation menu