Frontmatter
| id | 5900 |
| title | main.DomEvents: onClick() => limit the message to app to the event.detail property => < 2 |
| state | Closed |
| labels | enhancement |
| assignees | tobiu |
| createdAt | Sep 13, 2024, 6:39 PM |
| updatedAt | Sep 15, 2024, 4:23 PM |
| githubUrl | https://github.com/neomjs/neo/issues/5900 |
| author | tobiu |
| commentsCount | 2 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Sep 15, 2024, 4:23 PM |
main.DomEvents: onClick() => limit the message to app to the event.detail property => < 2
tobiu assigned to @tobiu on Sep 13, 2024, 6:39 PM
tobiu closed this issue on Sep 13, 2024, 6:39 PM

tobiu
Sep 13, 2024, 6:51 PM
this is obviously assuming that we want onClick() to act like onSingleClick().

tobiu
Sep 15, 2024, 4:22 PM
thinking more about this one: in case a new dev wants to create a button click counter increase logic, clicks would get significantly slowed down for no reason, giving a bad performance impression.
so, main should forward all click events, but add the detail (click count) info to the app worker, so that we can work with it there.
tobiu reopened this issue on Sep 15, 2024, 4:22 PM
tobiu closed this issue on Sep 15, 2024, 4:23 PM
(No description provided)