Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

widgets #714

Merged
merged 17 commits into from Oct 1, 2023
Merged

widgets #714

merged 17 commits into from Oct 1, 2023

Conversation

felixroos
Copy link
Collaborator

@felixroos felixroos commented Sep 30, 2023

image
  • adds slider(value, min?, max?) that will automatically spawn a slider in the code.
  • the slider is inlined with the code so it will move with edits.
  • when the slider is moved, the value in the code will change as well, so the code will always be in sync
  • the slider function returns a pattern!

this might still contain a tiny bit of jank but maybe it's already good enough for testing as a first version.

short video demo:

strudel-sliders.mp4

@felixroos
Copy link
Collaborator Author

I'll merge this now as it seems bugfree.. the will certainly be a follow up to improve styling / add different options etc..

@felixroos felixroos merged commit 9be1f9c into main Oct 1, 2023
2 checks passed
@felixroos felixroos deleted the ui-widgets branch October 1, 2023 12:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant