CurrentValue
public struct CurrentValue : Encodable
Undocumented
-
Shows the currently-selected value above the slider.
Declaration
Swift
public var visible: Bool? -
The alignment of the value readout relative to the length of the slider.
Declaration
Swift
public var xAnchor: XAnchor? -
The amount of space, in pixels, between the current value label and the slider.
Declaration
Swift
public var offset: Double? -
When currentvalue.visible is true, this sets the prefix of the label.
Declaration
Swift
public var prefix: String? -
When currentvalue.visible is true, this sets the suffix of the label.
Declaration
Swift
public var suffix: String? -
Sets the font of the current value label text.
Declaration
Swift
public var font: Font? -
Creates
CurrentValueobject with specified properties.Declaration
Parameters
visibleShows the currently-selected value above the slider.
xAnchorThe alignment of the value readout relative to the length of the slider.
offsetThe amount of space, in pixels, between the current value label and the slider.
prefixWhen currentvalue.visible is true, this sets the prefix of the label.
suffixWhen currentvalue.visible is true, this sets the suffix of the label.
fontSets the font of the current value label text.
View on GitHub
Install in Dash
CurrentValue Structure Reference