Bindings: Difference between revisions

Jump to navigation Jump to search
65 bytes added ,  19 January 2022
no edit summary
m (Corrected formatting)
No edit summary
Line 105: Line 105:
; 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.:{{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 !}}
; 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: <code>integer</code>, <code>decimal</code> and <code>all</code> (default). <code>integer</code> means that <code>step</code> or <code>offset * factor</code> is applied to the part of the property's current value left of the decimal point first. <code>decimal</code> does the same, but applies it to the part to the right of the decimal point. <code>all</code> 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: <code>integer</code>, <code>decimal</code> and <code>all</code> (default). <code>integer</code> means that <code>step</code> or <code>offset * factor</code> is applied to the part of the property's current value left of the decimal point first. <code>decimal</code> does the same, but applies it to the part to the right of the decimal point. <code>all</code> simply applies it to the whole number. This is especially useful for COM / NAV radio frequency knobs - use <code>integer</code> for the outer (big) knob and <code>decimal</code> for the inner (small) knob.


=== property-assign ===
=== property-assign ===
97

edits

Navigation menu