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

chore: Add with-attributes to clean up attributes #112

Merged

Conversation

jeroenvandijk
Copy link
Contributor

@tangjeff0 What do you think about this? It should make combining styles, classes and later other things like event listeners much cleaner (see #111)

I'm thinking about adding specialized key listeners in the same like :on-keypress {:ESC (fn [event] )} later. This will help implement #64

@jeroenvandijk jeroenvandijk requested a review from tangjeff0 May 31, 2020 14:41
Copy link
Collaborator

@tangjeff0 tangjeff0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks awesome. Forgot that we may want to merge DOM classes like :on-click or :on-press. Let's merge and then I'll write tests for merging styles.

@jeroenvandijk jeroenvandijk changed the title Add with-attributes to clean up attributes chore: Add with-attributes to clean up attributes May 31, 2020
@jeroenvandijk jeroenvandijk merged commit d25945c into athensresearch:master May 31, 2020
korlaism pushed a commit to korlaism/athens that referenced this pull request Jul 19, 2021
* Add with-attributes to clean up attributes

Will add :on-keypress {:ESC (fn [event] )} later

* No js/ vars in cljc namespaces

* Fix clj-kondo warnings
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