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

Implement partial property assign #52

Open
SamRodri opened this issue Apr 9, 2024 · 0 comments
Open

Implement partial property assign #52

SamRodri opened this issue Apr 9, 2024 · 0 comments
Labels
A-macro Area: Macros todo TODO task

Comments

@SamRodri
Copy link
Collaborator

SamRodri commented Apr 9, 2024

Implement syntax to allow assigning only one of the property inputs.

  • If set in when the when only affects the input.

  • If set in general the other values are the defaults or previous assigned value.

  • Use cases:

    • Borders usually don't change widths in when, an assign of border.sides = colors::GREEN; is more compact.
      • Maybe we need better names for the border inputs..
    • Animations may target just one member.
@SamRodri SamRodri added todo TODO task A-macro Area: Macros labels Apr 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-macro Area: Macros todo TODO task
Projects
None yet
Development

No branches or pull requests

1 participant