Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
filippkos authored Sep 3, 2024
1 parent 8ecace6 commit 8d623d6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,13 @@ You can do the same with the header (UIView):
}
}
```

To remove or change the selection in the dropdown from the outside in your code you can call:
```swift
self.dropdownView.updateCurrentOption(option: "Some placeholder")
```
The header configurator is subscribed to the current option and will update the header immediately.

<img width="337" alt="Снимок экрана 2024-09-02 в 20 08 01" src="https://github.com/user-attachments/assets/4555091b-7616-423e-932e-2f0101c9eae1">

## Requirements
Expand Down

0 comments on commit 8d623d6

Please sign in to comment.