Implementation of .page for tabViewStyle #137
Unanswered
Louis-PAGNIER
asked this question in
Q&A
Replies: 2 comments
-
I can simply use .environment like in .buttonStyle implementation. |
Beta Was this translation helpful? Give feedback.
0 replies
-
hey man good work with this! I am trying to do a similar thing, can you please share the rest of the code to make this work? thanks! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I wrote an alternative for
.page(indexDisplayMode: .never)
with #if SKIP's, but I don't know how to implement it in Skip-UI as the.tabViewStyle()
command is outside of TabView(). So I don't know how to get the selected mode from the TabView struct.Also, I'm a bit confused on how to really implement it in the struct :/
Here is my simple implementation:
Edit: I added selection with Binding
scroll-page2.mp4
Beta Was this translation helpful? Give feedback.
All reactions