gost-dom/browser

Implement `KeyboardEvent.GetModifierState`

Aperta

#231 aperta il 30 dic 2025

 (0 commenti) (0 reazioni) (0 assegnatari)Go (15 fork)auto 404
good first issue

Metriche repository

Star
 (295 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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.

Guida contributor