KeyboardEventInit constructor

KeyboardEventInit({
  1. bool bubbles,
  2. bool cancelable,
  3. bool composed,
  4. Window? view,
  5. int detail,
  6. JSObject? sourceCapabilities,
  7. int which,
  8. bool ctrlKey,
  9. bool shiftKey,
  10. bool altKey,
  11. bool metaKey,
  12. bool modifierAltGraph,
  13. bool modifierCapsLock,
  14. bool modifierFn,
  15. bool modifierFnLock,
  16. bool modifierHyper,
  17. bool modifierNumLock,
  18. bool modifierScrollLock,
  19. bool modifierSuper,
  20. bool modifierSymbol,
  21. bool modifierSymbolLock,
  22. String key,
  23. String code,
  24. int location,
  25. bool repeat,
  26. bool isComposing,
  27. int charCode,
  28. int keyCode,
})

Implementation

external factory KeyboardEventInit({
  bool bubbles,
  bool cancelable,
  bool composed,
  Window? view,
  int detail,
  JSObject? sourceCapabilities,
  int which,
  bool ctrlKey,
  bool shiftKey,
  bool altKey,
  bool metaKey,
  bool modifierAltGraph,
  bool modifierCapsLock,
  bool modifierFn,
  bool modifierFnLock,
  bool modifierHyper,
  bool modifierNumLock,
  bool modifierScrollLock,
  bool modifierSuper,
  bool modifierSymbol,
  bool modifierSymbolLock,
  String key,
  String code,
  int location,
  bool repeat,
  bool isComposing,
  int charCode,
  int keyCode,
});