gost-dom/browser

Implement `KeyboardEvent.GetModifierState`

Open

#231 opened on Dec 30, 2025

 (0 comments) (0 reactions) (0 assignees)Go (15 forks)auto 404
good first issue

Repository metrics

Stars
 (295 stars)
PR merge metrics
 (PR metrics pending)

Description

GetModifierState

  • In Go, this should exist on the EventInit - Probably ModifierEventInit
  • In JavaScript, this should exist on KeyboardEvent

See documentation of how "events" are implemented: https://github.com/gost-dom/browser/blob/main/docs/Events.md MDN Docs: https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/getModifierState

"Good first issue" maybe a bit of a stretch, as at least the JavaScript method should be code generated.

Contributor guide