Events, Menu, Mouse #801
Answered
by
KhandamovA
KhandamovA
asked this question in
Q&A
-
where can i handle events for my extension? I need an event that updates the menus. And yet, how to get the ID of the block that opened the menu? how to find out the position of the mouse on the block area? |
Beta Was this translation helpful? Give feedback.
Answered by
KhandamovA
Jul 30, 2023
Replies: 2 comments 3 replies
-
I found a way to do it, thanks everyone |
Beta Was this translation helpful? Give feedback.
3 replies
-
to get block id i used "document.addEventListener('mousemove', function (event) { event.target ... })" |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
KhandamovA
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
to get block id i used "document.addEventListener('mousemove', function (event) { event.target ... })"