Skip to content

Add a contextmenu mouse callback#27192

Open
stas-badzi wants to merge 7 commits into
emscripten-core:mainfrom
stas-badzi:contextmenu-callback
Open

Add a contextmenu mouse callback#27192
stas-badzi wants to merge 7 commits into
emscripten-core:mainfrom
stas-badzi:contextmenu-callback

Conversation

@stas-badzi

Copy link
Copy Markdown
  • Added a contextmenu callback that behaves like any other mouse callback, the same way other mouse callbacks are defined

  • Added contextmenu callback tests to test_html5_core and test_html5_unknown_event_target.c

@sbc100 sbc100 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks!

Maybe update site/source/docs/api_reference/html5.h.rst too?

@sbc100 sbc100 enabled auto-merge (squash) June 25, 2026 19:50
auto-merge was automatically disabled June 25, 2026 22:48

Head branch was pushed to by a user without write access

@sbc100 sbc100 enabled auto-merge (squash) June 25, 2026 23:13
@sbc100

sbc100 commented Jun 26, 2026

Copy link
Copy Markdown
Collaborator

Sorry for the churn here.. a lot of other changes are updating the codesize tests today.

If you get bored of rebasing let me know I and can try to do it myself during a quiet time.

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