版博士V2.0程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

26 line
728 B

  1. "use strict";
  2. var __importDefault = (this && this.__importDefault) || function (mod) {
  3. return (mod && mod.__esModule) ? mod : { "default": mod };
  4. };
  5. Object.defineProperty(exports, "__esModule", { value: true });
  6. const UIEvent_1 = __importDefault(require("../UIEvent"));
  7. /**
  8. *
  9. */
  10. class FocusEvent extends UIEvent_1.default {
  11. /**
  12. * Constructor.
  13. *
  14. * @param type Event type.
  15. * @param [eventInit] Event init.
  16. */
  17. constructor(type, eventInit = null) {
  18. super(type, eventInit);
  19. this.relatedTarget = null;
  20. if (eventInit) {
  21. this.relatedTarget = eventInit.relatedTarget || null;
  22. }
  23. }
  24. }
  25. exports.default = FocusEvent;
  26. //# sourceMappingURL=FocusEvent.js.map