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

simplify basic usage #65

Open
WickyNilliams opened this issue Sep 22, 2024 · 0 comments · May be fixed by #70
Open

simplify basic usage #65

WickyNilliams opened this issue Sep 22, 2024 · 0 comments · May be fixed by #70
Labels
enhancement New feature or request

Comments

@WickyNilliams
Copy link
Owner

WickyNilliams commented Sep 22, 2024

i'm thinking we can simplify basic usage, so that people don't need to render their own <calendar-months> with offsets etc.

this would simplify the basic case (and probably be good enough for most people's needs), whilst preserving the ability to have more advanced layouts where needed

as a result, it would mean these are equivalent:

<calendar-date months="2"></calendar-date>

<calendar-date months="2">
  <calendar-month></calendar-month>
  <calendar-month offset="1"></calendar-month>
</calendar-date>

to be sensisitive to perf, we should only render into the default slot if nothing is slotted

@WickyNilliams WickyNilliams added the enhancement New feature or request label Sep 22, 2024
@WickyNilliams WickyNilliams linked a pull request Nov 1, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant