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

Use task IDs to identify containing div (for JS extensibility) #11

Merged
merged 1 commit into from
Jul 16, 2023

Conversation

erinnmclaughlin
Copy link
Contributor

Hi! I was playing around with this library and wanted to show a little popover when a task is clicked to let users edit task details or something. I was going to do this with JS but there isn't really a way to pass the task div to JS. This small PR adds an id to the task containers on both the monthly & annual views (being a little presumptuous, I went with task-{ID#} as the convention). This way I can use getElementById and do some extra stuff with JS interop. Let me know if you have other thoughts on how to accomplish this though! Thanks!!

@tossnet tossnet merged commit 9fa9447 into tossnet:main Jul 16, 2023
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