Skip to content

Commit

Permalink
Add Slider doc index
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyle-Ye committed Dec 16, 2023
1 parent 0fa7b69 commit 6747b44
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Sources/OpenSwiftUI/OpenSwiftUI.docc/Views/Controls.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ Use these built-in controls and indicators when composing custom views, and styl

- ``Link``

### Getting numeric inputs

- ``Slider``

### Sizing controls

- ``View/controlSize(_:)``
Expand Down
29 changes: 29 additions & 0 deletions Sources/OpenSwiftUI/OpenSwiftUI.docc/Views/Controls/Slider.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# ``Slider``

## Topics

### Creating a slider

- ``init(value:in:onEditingChanged:)``

- ``init(value:in:step:onEditingChanged:)``

### Creating a slider with labels

- ``init(value:in:label:onEditingChanged:)``

- ``init(value:in:step:label:onEditingChanged:)``

- ``init(value:in:label:minimumValueLabel:maximumValueLabel:onEditingChanged:)``

- ``init(value:in:step:label:minimumValueLabel:maximumValueLabel:onEditingChanged:)``

### Deprecated initializers

- ``init(value:in:onEditingChanged:label:)``

- ``init(value:in:step:onEditingChanged:label:)``

- ``init(value:in:onEditingChanged:minimumValueLabel:maximumValueLabel:label:)``

- ``init(value:in:onEditingChanged:step:minimumValueLabel:maximumValueLabel:label:)``

0 comments on commit 6747b44

Please sign in to comment.