Skip to content

Slider styles #5

@ay42

Description

@ay42

This will enable support for styles to match behaviour of other SwiftUI native elements (Buttons, Pickers, Toggles)

User should be able to specify slider styles.

.valueSliderStyle(...)
.rangeSliderStyle(...)
.pointSliderStyle(...)

This will use makeBody method

func makeBody(configuration: Self.Configuration) -> Self.Body

This will also rename current slider types to

ValueSlider()
RangeSlider()
PointSlider()

with geometry and interactions moving to styles

HorizontalValueSliderStyle() // Default
VerticalValueSliderStyle()
...

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions