sliderMarker placeholderSize

Deprecated

Use the placeholderHeight and indent options instead.

Specifies in pixels the height and width of the space reserved for the range selector slider markers.

Type: Number|Object
Default Value: undefined

You can set a numeric value to this property. This value will be used as a width and height of both the left and right slider markers. You can also set individual values for a width and height, and make them similar or different for the left and right slider markers. To do this, specify placeholderSize as an object. When setting this object's properties, take into account the font size of the text displayed in the slider markers.

You may need to set this property, when you need to know the exact size of the RangeSelector widget elements in vertical and horizontal directions. For instance, this may be required when displaying an image in the background in a stretched mode. To get the background height, subtract the scale's placeholder height and the slider markers' placeholder height from the RangeSelector's height. To get the background width, subtract the placeholder widths of slider markers from the RangeSelector's width.

height

Specifies the height of the placeholder for the left and right slider markers.

Type: Number
Default Value: undefined

Both slider markers must have the same height. Set the height property to a numeric value to specify the height.

width

Specifies the width of the placeholder for the left and right slider markers.

Type: Number|Object
Default Value: undefined

You can set the same width for placeholders of both the left and right slider markers. In this instance, set a numeric value to this property. If you require to set different widths for the placeholders of the left and right slider markers, specify width as an object. Set its left and right properties.