It would be beneficial to enhance the rio.Slider component by introducing an additional attribute called anchor?. This attribute will accept a Literal type with values "left" or "right", defaulting to "left". This feature will make the rio.Slider more versatile and allow developers to specify the anchor position of the slider.
Benefits:
Increased versatility of the rio.Slider component.
Better alignment control in various UI layouts.
Improved developer experience by providing more customization options.
Proposed API:
class Slider(FundamentalComponent):
def __init__(self, ..., anchor: Literal["left", "right"] = "left"):
It would be beneficial to enhance the
rio.Slider
component by introducing an additional attribute calledanchor?
. This attribute will accept a Literal type with values "left" or "right", defaulting to "left". This feature will make the rio.Slider more versatile and allow developers to specify the anchor position of the slider.Benefits:
Proposed API:
rio.Slider(..., anchor = "left")
orrio.Slider(...)
:rio.Slider(anchor = "right")
:Additional Context: