Skip to content

Use attributes instead of classes #20

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

Closed
wants to merge 2 commits into from

Conversation

koddsson
Copy link
Contributor

CSS classes are used for styling elements, and by using classes for querying elements within the Web Component, we conflate behavioral and styling concepts. Instead, we can assume that lists that are children of <task-lists> should be initialized as task lists.

Due to the change in required markup, this will be a breaking change.

@koddsson koddsson requested a review from a team as a code owner April 30, 2021 16:08
@koddsson koddsson requested review from smockle and manuelpuyol April 30, 2021 16:08
@koddsson koddsson marked this pull request as draft May 5, 2021 09:06
@koddsson
Copy link
Contributor Author

koddsson commented May 5, 2021

I'm going to put this in drafts. I still think that this is how the API of this component should be, but it's not worth the disruption to existing systems.

@koddsson koddsson closed this May 27, 2021
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.

2 participants